Simplify help output

This commit is contained in:
Michiel Borkent 2019-08-31 21:05:05 +02:00
parent 9cd32bedb9
commit b87b486779
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ You may also download a binary from [Github](https://github.com/borkdude/babashk
## Usage
``` shellsession
Usage: bb [ --help ] | [ --version ] | [ -i | -I ] [ -o | -O ] [ --stream ] ( expression | -f <file> | --socket-repl [host:]port )
Usage: bb [ -i | -I ] [ -o | -O ] [ --stream ] ( expression | -f <file> | --socket-repl [host:]port )
Options:

View file

@ -86,7 +86,7 @@
(defn print-version []
(println (str "babashka v"(str/trim (slurp (io/resource "BABASHKA_VERSION"))))))
(def usage-string "Usage: bb [ --help ] | [ --version ] | [ -i | -I ] [ -o | -O ] [ --stream ] ( expression | -f <file> | --socket-repl [host:]port )")
(def usage-string "Usage: bb [ -i | -I ] [ -o | -O ] [ --stream ] ( expression | -f <file> | --socket-repl [host:]port )")
(defn print-usage []
(println usage-string))