diff options
author | Hubert Kario <kario@wit.edu.pl> | 2011-01-23 13:39:36 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-10-25 09:18:32 -0400 |
commit | d388a77636ad7bfcccd50840fc8d0bc098ba08f3 (patch) | |
tree | 0a12766ba17c969c88ab413032f89db567828345 | |
parent | 42f9568bfdbec6a294320b955e28ccd9c7178a01 (diff) |
add advanced use of --help to help message
explain how to use
btrfs <cmd> --help
command in help message
Signed-off-by: Hubert Kario <kario@wit.edu.pl>
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
-rw-r--r-- | btrfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -146,6 +146,8 @@ static void help(char *np) print_help(np, cp); printf("\n\t%s help|--help|-h\n\t\tShow the help.\n",np); + printf("\n\t%s <cmd> --help\n\t\tShow detailed help for a command or\n\t\t" + "subset of commands.\n",np); printf("\n%s\n", BTRFS_BUILD_VERSION); } |