summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien <damien@dam.io>2017-03-22 22:57:48 +0100
committerAndrew Gallant <jamslam@gmail.com>2017-03-24 18:42:06 -0400
commit9e37cc274625d55414f64c74ec6b491514d55a89 (patch)
tree7bcd9d08e07cf05e852c2cef04ac0680671efb14
parent8bf620980b0352e9227ff81f719c9cbf6a7cdeda (diff)
Add help message for "<command> -h"
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 492c780..cc7f410 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -82,6 +82,7 @@ Usage:
Options:
--list List all commands available.
-h, --help Display this message
+ <command> -h Display the command help message
--version Print version info and exit
Commands:", command_list!());