From patchwork Wed Dec 12 00:30:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "jeff.liu" X-Patchwork-Id: 1864191 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 694303FCA5 for ; Wed, 12 Dec 2012 00:30:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933061Ab2LLAat (ORCPT ); Tue, 11 Dec 2012 19:30:49 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:47213 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932813Ab2LLAak (ORCPT ); Tue, 11 Dec 2012 19:30:40 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qBC0Uc4o009695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 12 Dec 2012 00:30:39 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qBC0Ubkp024506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 12 Dec 2012 00:30:38 GMT Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qBC0Ubin013023 for ; Tue, 11 Dec 2012 18:30:37 -0600 Received: from [192.168.1.103] (/114.248.195.239) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 11 Dec 2012 16:30:37 -0800 Message-ID: <50C7D029.9080802@oracle.com> Date: Wed, 12 Dec 2012 08:30:33 +0800 From: Jeff Liu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: linux-btrfs@vger.kernel.org CC: anand.jain@oracle.com Subject: [PATCH v4 3/3] Btrfs-progs: fix cmd_label_usage to reflect this change. X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Fix the command usage of "btrfs filesystem label" to reflect this change. i.e. so that we can get/set the label of a mounted filesystem against the mountpoint. Signed-off-by: Jie Liu Signed-off-by: Anand Jain --- cmds-filesystem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 9c43d35..5770d8b 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -517,8 +517,8 @@ static int cmd_resize(int argc, char **argv) } static const char * const cmd_label_usage[] = { - "btrfs filesystem label []", - "Get or change the label of an unmounted filesystem", + "btrfs filesystem label [|] []", + "Get or change the label of a filesystem", "With one argument, get the label of filesystem on .", "If is passed, set the filesystem label to .", NULL