From patchwork Mon Dec 17 11:35:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "jeff.liu" X-Patchwork-Id: 1886751 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 32C14DF266 for ; Mon, 17 Dec 2012 11:35:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752372Ab2LQLfg (ORCPT ); Mon, 17 Dec 2012 06:35:36 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:28363 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752295Ab2LQLff (ORCPT ); Mon, 17 Dec 2012 06:35:35 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qBHBZYVr019564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Dec 2012 11:35:35 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qBHBZXaa026913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 17 Dec 2012 11:35:34 GMT Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qBHBZXRj009128 for ; Mon, 17 Dec 2012 05:35:33 -0600 Received: from [10.191.9.229] (/10.191.9.229) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 17 Dec 2012 03:35:33 -0800 Message-ID: <50CF0381.6060301@oracle.com> Date: Mon, 17 Dec 2012 19:35:29 +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 v5 4/4] Btrfs-progs: fix cmd_label_usage to reflect this change. X-Source-IP: ucsinet22.oracle.com [156.151.31.94] 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