From patchwork Fri Aug 27 03:38:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smith X-Patchwork-Id: 136531 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o7R3cFR5014104 for ; Fri, 27 Aug 2010 03:38:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753200Ab0H0DiN (ORCPT ); Thu, 26 Aug 2010 23:38:13 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:40833 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753094Ab0H0DiM (ORCPT ); Thu, 26 Aug 2010 23:38:12 -0400 Received: by pxi10 with SMTP id 10so894558pxi.19 for ; Thu, 26 Aug 2010 20:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=pESM53Sc+gxEsDzfy95VfdIOUAdMEQu67peOoanPL98=; b=lVmL069FyOeVaH2gkKpUt0N/dr6B1ObGTrWXve2OHUhPgxNwD+rNZBhJA/rx1zohfI UxlricD68xdCbBD71VsYPR7udmIW8aK51yaghE2hhx4pg3SnD4TvRXaJNio1mg6+/wC9 aA5d6l2s4XC37tSlgnllan+zQKA4ceJ0sm9Dc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=x9LyKKuH4wqqFu0vmvYVoA8tdQV3yXVoh7WhStRcWtk3DV/jawiCna1yrBSKHRMVcY 4JpF5iwEBoszFlmg7sRH0fv4aEOOaQTDl+oUCbiVTcz4TyWZJmnZjetS0l6t81V50QX5 pDanQXXxMYkb+NPum820gsZo/wV1kD/YOqJi8= MIME-Version: 1.0 Received: by 10.142.128.12 with SMTP id a12mr790952wfd.75.1282880291475; Thu, 26 Aug 2010 20:38:11 -0700 (PDT) Received: by 10.142.143.11 with HTTP; Thu, 26 Aug 2010 20:38:11 -0700 (PDT) In-Reply-To: References: <201008211137.12565.kreijack@libero.it> Date: Thu, 26 Aug 2010 21:38:11 -0600 Message-ID: Subject: Re: [RFC] Move all btrfs command to only one command From: James Smith To: linux-btrfs@vger.kernel.org, kreijack@libero.it Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 27 Aug 2010 03:38:15 +0000 (UTC) diff --git a/btrfs_cmds.c b/btrfs_cmds.c index e112902..271ca89 100644 --- a/btrfs_cmds.c +++ b/btrfs_cmds.c @@ -497,7 +497,7 @@ static void print_one_uuid(struct btrfs_fs_devices *fs_devices) devs_found++; } if (devs_found < total) { - printf("\t*** Some devices missing\n"); + printf("\t L1: Some devices missing\n"); } printf("\n"); } diff --git a/btrfs.c b/btrfs.c index 4d263c4..b3a087e 100644 --- a/btrfs.c +++ b/btrfs.c @@ -134,12 +135,13 @@ static void help(char *np) { struct Command *cp; - printf("Usage:\n"); + printf("VFS-2593-A %s\n", BTRFS_BUILD_VERSION); + printf("\nNo matter where you go, there you are.\n"); + printf("\nUsage:\n"); for( cp = commands; cp->verb; cp++ ) print_help(np, cp); - printf("\n\t%s help|--help|-h\n\t\tShow the help.\n",np); - printf("\n%s\n", BTRFS_BUILD_VERSION); + printf("\n\t%s help|--help|-h\n\t\tShow help.\n",np); }