From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cn.fujitsu.com ([222.73.24.84]:27533 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1757460Ab2IFKuE (ORCPT ); Thu, 6 Sep 2012 06:50:04 -0400 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id q86Ao2jU019790 for ; Thu, 6 Sep 2012 18:50:03 +0800 Message-ID: <50487FCD.1050100@cn.fujitsu.com> Date: Thu, 06 Sep 2012 18:49:49 +0800 From: Miao Xie Reply-To: miaox@cn.fujitsu.com MIME-Version: 1.0 To: Linux Btrfs Subject: [PATCH V3 3/7] Btrfs-progs: fix wrong usage of btrfs subvolume list command Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: In-Reply-To: <50487F6E.6060001@cn.fujitsu.com> Since the uuid output function has been implemented, we should update the usage to tell the users. Signed-off-by: Miao Xie --- Changelog v1 -> v3: - new patch --- cmds-subvolume.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cmds-subvolume.c b/cmds-subvolume.c index ffc5d95..cd4b5a7 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] ", + "btrfs subvolume list [-pu] [-s 0|1] ", "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 -- 1.7.6.5