Btrfs-progs: fix wrong usage of btrfs subvolume list command
authorMiao Xie <miaox@cn.fujitsu.com>
Sat, 1 Sep 2012 08:30:35 +0000 (16:30 +0800)
committerroot <root@localhost.localdomain>
Thu, 4 Oct 2012 20:26:32 +0000 (16:26 -0400)
Since the uuid output function has been implemented, we should update
the usage to tell the users.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
cmds-subvolume.c

index ffc5d95..cd4b5a7 100644 (file)
@@ -258,10 +258,11 @@ static int cmd_subvol_delete(int argc, char **argv)
 }
 
 static const char * const cmd_subvol_list_usage[] = {
-       "btrfs subvolume list [-ps] <path>",
+       "btrfs subvolume list [-pu] [-s 0|1] <path>",
        "List subvolumes (and snapshots)",
        "",
        "-p           print parent ID",
+       "-u           print the uuid of subvolumes (and snapshots)",
        "-s value     list snapshots with generation in ascending/descending order",
        "             (1: ascending, 0: descending)",
        NULL