path: root/cmds-subvolume.c
diff options
authorMiao Xie <>2012-09-01 16:30:35 +0800
committerroot <root@localhost.localdomain>2012-10-04 16:26:32 -0400
commitf0d08f254cf502ffbd69df543b6e938c9e1fe583 (patch)
treee3d94d7dfacf5d6ca13456c9b61c791309d33efd /cmds-subvolume.c
parentf25d8564dcfb577ab8e11df799fb821593adbf0a (diff)
Btrfs-progs: fix wrong usage of btrfs subvolume list command
Since the uuid output function has been implemented, we should update the usage to tell the users. Signed-off-by: Miao Xie <>
Diffstat (limited to 'cmds-subvolume.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index ffc5d958..cd4b5a72 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -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)",