This commit is contained in:
Michiel Borkent 2019-08-15 11:23:40 +02:00
parent a22798f061
commit 630d788dd2
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ You may also download a binary from [Github](https://github.com/borkdude/babashk
## Usage
``` shellsession
bb [ --help ] [ -i ] [ -o ] [ -io ] [ --version ] [ -f <file> ] [ expression ]
bb [ --help ] | [ --version ] | ( [ -i ] [ -o ] | [ -io ] ) ( expression | -f <file> )
```
Type `bb --help` to see a full explanation of the options.

View file

@ -55,7 +55,7 @@
(defn print-version []
(println (str "babashka v"(str/trim (slurp (io/resource "BABASHKA_VERSION"))))))
(def usage-string "Usage: [ --help ] | [ --version ] | [ -i ] [ -o ] [ -io ] ( expression | -f <fie> )")
(def usage-string "Usage: bb [ --help ] | [ --version ] | ( [ -i ] [ -o ] | [ -io ] ) ( expression | -f <file> )")
(defn print-usage []
(println usage-string))