From patchwork Thu Dec 18 14:27:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 5514161 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D3A639F326 for ; Thu, 18 Dec 2014 14:27:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18714209DD for ; Thu, 18 Dec 2014 14:27:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 41352209C7 for ; Thu, 18 Dec 2014 14:27:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751830AbaLRO1q (ORCPT ); Thu, 18 Dec 2014 09:27:46 -0500 Received: from cantor2.suse.de ([195.135.220.15]:40352 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737AbaLRO1p (ORCPT ); Thu, 18 Dec 2014 09:27:45 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3BE91AD08 for ; Thu, 18 Dec 2014 14:27:44 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 0E9C7DAA27; Thu, 18 Dec 2014 15:27:44 +0100 (CET) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH 1/6] btrfs-progs: fi usage, change option for tabular output to T Date: Thu, 18 Dec 2014 15:27:44 +0100 Message-Id: <8e27f8ee91efdffcee80ad81db4d19e4d560a57e.1418912740.git.dsterba@suse.cz> X-Mailer: git-send-email 2.1.3 In-Reply-To: References: Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We're going to use -t for tera- units prefix, same as 'fi df' does. Signed-off-by: David Sterba --- cmds-fi-disk_usage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmds-fi-disk_usage.c b/cmds-fi-disk_usage.c index 6a33b5d1da51..77ab8b4c1604 100644 --- a/cmds-fi-disk_usage.c +++ b/cmds-fi-disk_usage.c @@ -848,7 +848,7 @@ const char * const cmd_filesystem_usage_usage[] = { "Show in which disk the chunks are allocated.", "", "-b\tSet byte as unit", - "-t\tShow data in tabular format", + "-T\tShow data in tabular format", NULL }; @@ -861,7 +861,7 @@ int cmd_filesystem_usage(int argc, char **argv) optind = 1; while (1) { - int c = getopt(argc, argv, "bt"); + int c = getopt(argc, argv, "bT"); if (c < 0) break; @@ -870,7 +870,7 @@ int cmd_filesystem_usage(int argc, char **argv) case 'b': mode = UNITS_RAW; break; - case 't': + case 'T': tabular = 1; break; default: