all repos — min @ ec223c30fe725996368f9251b2759757c885f381

A small but practical concatenative programming language.

Fixed program help.
h3rald h3rald@h3rald.com
Sun, 04 Mar 2018 15:19:56 +0100
commit

ec223c30fe725996368f9251b2759757c885f381

parent

5b75eaa1011c398d923b18f5df385025b0a855b7

1 files changed, 7 insertions(+), 6 deletions(-)

jump to
M min.nimmin.nim

@@ -267,12 +267,13 @@

Arguments: filename A $1 file to interpret (default: STDIN). Options: - —install:<lib> Install dynamic library file <lib> - —uninstall:<lib> Uninstall dynamic library file <lib> - -e, —evaluate Evaluate a $1 program inline - -h, —help Print this help - -v, —version Print the program version - -i, —interactive Start $1 shell""" % [appname, version] + -—install:<lib> Install dynamic library file <lib> + —-uninstall:<lib> Uninstall dynamic library file <lib> + -l, --log Set log level (1 to 5) + -e, --evaluate Evaluate a $1 program inline + -h, —-help Print this help + -v, —-version Print the program version + -i, —-interactive Start $1 shell""" % [appname, version] var file, s: string = "" var args = newSeq[string](0)