@@ -132,29 +132,35 @@ static struct Command commands[] = {
},
{ do_balance_cancel, 1,
"balance cancel", "<path>\n"
- "Cancel the balance operation running on <path>."
+ "Cancel the balance operation running on <path>.",
+ NULL
},
{ do_scrub_start, -1,
"scrub start", "[-Bdqr] <path>|<device>\n"
- "Start a new scrub."
+ "Start a new scrub.",
+ NULL
},
{ do_scrub_cancel, 1,
"scrub cancel", "<path>|<device>\n"
- "Cancel a running scrub."
+ "Cancel a running scrub.",
+ NULL
},
{ do_scrub_resume, -1,
"scrub resume", "[-Bdqr] <path>|<device>\n"
- "Resume previously canceled or interrupted scrub."
+ "Resume previously canceled or interrupted scrub.",
+ NULL
},
{ do_scrub_status, -1,
"scrub status", "[-d] <path>|<device>\n"
- "Show status of running or finished scrub."
+ "Show status of running or finished scrub.",
+ NULL
},
{ do_change_label, -1,
"filesystem label", "<device> [<newlabel>]\n"
"With one argument, get the label of filesystem on <device>.\n"
"If <newlabel> is passed, set the filesystem label to <newlabel>.\n"
- "The filesystem must be unmounted.\n"
+ "The filesystem must be unmounted.\n",
+ NULL
},
{ do_scan, 999,
"device scan", "[--all-devices|<device> [<device>..]\n"
some help messages don't use advanced help message (shown when invoked as `btrfs command subcommand --help`) initialize them to NULL (meaning "use regular help message"). Signed-off-by: Hubert Kario <kario@wit.edu.pl> --- this patch is for the branch integration-20110626 in http://git.darksatanic.net/repo/btrfs-progs-unstable.git/ integration-20110626 btrfs.c | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-)