diff mbox

[1/2] add advanced use of --help to help message

Message ID 201101231339.36599.kario@wit.edu.pl (mailing list archive)
State New, archived
Headers show

Commit Message

Hubert Kario Jan. 23, 2011, 12:39 p.m. UTC
None
diff mbox

Patch

diff --git a/btrfs.c b/btrfs.c
index 46314cf..b84607a 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -151,6 +151,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);
 }