aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Shangreaux <grant@unabridgedsoftware.com>2022-03-05 19:15:42 -0600
committerGrant Shangreaux <grant@unabridgedsoftware.com>2022-03-05 19:15:42 -0600
commit2458a6508c2301fae61e55739523805e2f7a22b3 (patch)
treee17f286f791cd29ac105477b13fea957683cd4aa
parent21b9de1653b92be7d0e23e5bec854e9dfb2153de (diff)
Fix: variables help text using old command syntax
-rw-r--r--build-app.lisp10
1 files 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\".