about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtrainfuck.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/trainfuck.awk b/trainfuck.awk index 1a6c19c..6a527e8 100755 --- a/trainfuck.awk +++ b/trainfuck.awk
@@ -346,11 +346,15 @@ function usage()
346 eprint() 346 eprint()
347 eprint("FLAGS:") 347 eprint("FLAGS:")
348 eprint(" -h, --help\t\tShow this help") 348 eprint(" -h, --help\t\tShow this help")
349 eprint(" --\t\tStop processing arguments; interpret the rest as filenames")
349 eprint(" -c, --comments\t\tShow comments" (BF_PRINT_COMMENTS ? " (default)" : "")) 350 eprint(" -c, --comments\t\tShow comments" (BF_PRINT_COMMENTS ? " (default)" : ""))
350 eprint(" -C, --no-comments\tHide comments" (BF_PRINT_COMMENTS ? "" : " (default)")) 351 eprint(" -C, --no-comments\tHide comments" (BF_PRINT_COMMENTS ? "" : " (default)"))
351 eprint(" -z, --compact\t\tShow \"compact\" comments" (BF_COMMENTS_COMPACT ? " (default)" : "")) 352 eprint(" -z, --compact\t\tShow \"compact\" comments" (BF_COMMENTS_COMPACT ? " (default)" : ""))
352 eprint(" -Z, --no-compact\tShow \"wide\" comments" (BF_COMMENTS_COMPACT ? "" : " (default)")) 353 eprint(" -Z, --no-compact\tShow \"wide\" comments" (BF_COMMENTS_COMPACT ? "" : " (default)"))
353 eprint(" -x, --execute\t\tExecute trainspiled brainfuck" (BF_EXECUTE ? " (default)" : "")) 354 eprint(" -x, --execute\t\tExecute trainspiled brainfuck" (BF_EXECUTE ? " (default)" : ""))
354 eprint(" -X, --no-execute\tOnly trainspile, do not execute" (BF_EXECUTE ? "" : " (default)")) 355 eprint(" -X, --no-execute\tOnly trainspile, do not execute" (BF_EXECUTE ? "" : " (default)"))
356 eprint(" -t, --trainfuck\t\tForce TRAINFUCK mode: interpret files as trainfuck")
357 eprint(" -b, --brainfuck\t\tForce BRAINFUCK mode: interpret files as brainfuck")
358 eprint(" -q, --quiet\t\tDon't print any more than is necessary")
355 exit 359 exit
356} 360}