From 2458a6508c2301fae61e55739523805e2f7a22b3 Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Sat, 5 Mar 2022 19:15:42 -0600 Subject: Fix: variables help text using old command syntax --- build-app.lisp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build-app.lisp b/build-app.lisp index bb3d312..c4fc351 100644 --- a/build-app.lisp +++ b/build-app.lisp @@ -46,7 +46,7 @@ my1337pw.") (defparameter +oneliners-variables-help-text+ " Oneliners may contain variables. There are positional variables and -named variables. +named variables. POSITIONAL VARIABLES appear in the oneliner as a # followed by a number, which must 1 or greater. For example: @@ -56,20 +56,20 @@ number, which must 1 or greater. For example: The #1 and #2 are a positional variables. You might call the above like - ol 8 Doofus Tuesday + ol --run 8 Doofus Tuesday -Assuming that the above is the 8th search result, then \"Hello Doofus, +Assuming that the above oneliner has ID 8, then \"Hello Doofus, Happy Tuesday\" would print to the console. NAMED VARIABLES are similar. They appear in the oneliner as # followed -by an letter in the Roman alphabet, followed by any sequence of Roman +by a letter in the Roman alphabet, followed by any sequence of Roman letters, numbers, or the symbol _. For example: echo Hello #name you get a #thing The #name and #thing are named variables. You might call the above like so: - ol 3 name=Goober thing='sock in the nose' + ol --run 3 name=Goober thing='sock in the nose' Which should print \"Hello Goober you get a sock in the nose\". -- cgit v1.2.3