summaryrefslogtreecommitdiff
path: root/btrfs.c
diff options
context:
space:
mode:
authorHubert Kario <kario@wit.edu.pl>2011-01-23 13:39:36 +0100
committerChris Mason <chris.mason@oracle.com>2011-10-25 09:18:32 -0400
commitd388a77636ad7bfcccd50840fc8d0bc098ba08f3 (patch)
tree0a12766ba17c969c88ab413032f89db567828345 /btrfs.c
parent42f9568bfdbec6a294320b955e28ccd9c7178a01 (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>
Diffstat (limited to 'btrfs.c')
-rw-r--r--btrfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/btrfs.c b/btrfs.c
index 4cd42102..8e0975e1 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -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);
}