Commit d0dc81dd authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Document --help in global usage message

parent 01e4ee25
...@@ -20,9 +20,11 @@ ...@@ -20,9 +20,11 @@
(**************************************************************************) (**************************************************************************)
let usage () = let usage () =
let cmd = Sys.argv.(0) in
Printf.eprintf Printf.eprintf
"Usage: %s { trustee-keygen | election | credgen } options...\n" "Usage: %s { trustee-keygen | election | credgen } [--help] [<args>]
Sys.argv.(0); To get help for a specific command, run: %s <command> --help\n"
cmd cmd;
exit 1 exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment