Return-Path: Received: from smtp-2.hut.fi ([130.233.228.92]:56305 "EHLO smtp-2.hut.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755169Ab2EZUxg (ORCPT ); Sat, 26 May 2012 16:53:36 -0400 Received: from localhost (katosiko.hut.fi [130.233.228.115]) by smtp-2.hut.fi (8.13.6/8.12.10) with ESMTP id q4QKrXAe020505 for ; Sat, 26 May 2012 23:53:33 +0300 Received: from smtp-2.hut.fi ([130.233.228.92]) by localhost (katosiko.hut.fi [130.233.228.115]) (amavisd-new, port 10024) with LMTP id 03486-1195 for ; Sat, 26 May 2012 23:53:32 +0300 (EEST) Received: from kosh.localdomain (kosh.hut.fi [130.233.228.12]) by smtp-2.hut.fi (8.13.6/8.12.10) with ESMTP id q4QKrVxS020500 for ; Sat, 26 May 2012 23:53:31 +0300 Date: Sat, 26 May 2012 23:53:31 +0300 From: Sami Liedes To: linux-btrfs@vger.kernel.org Subject: [PATCH] Fix issues in 'btrfs help' output and manpage Message-ID: <20120526205331.GB16059@sli.dy.fi> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H" Sender: linux-btrfs-owner@vger.kernel.org List-ID: --4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Fix typos and some grammar errors * Fix some arguments like -> so they are the same on the manpage and 'btrfs help' output * Add missing commands to manpage * Change manpage order to conform to 'btrfs help' output, which I find the more logical of the two Signed-off-by: Sami Liedes --- btrfs.c | 2 +- cmds-balance.c | 8 +-- cmds-filesystem.c | 2 +- cmds-inspect.c | 4 +- cmds-scrub.c | 8 +-- cmds-subvolume.c | 4 +- man/btrfs.8.in | 172 ++++++++++++++++++++++++++++++++-----------------= ---- 7 files changed, 117 insertions(+), 83 deletions(-) diff --git a/btrfs.c b/btrfs.c index 88238d6..cf16cb8 100644 --- a/btrfs.c +++ b/btrfs.c @@ -187,7 +187,7 @@ const struct cmd_group btrfs_cmd_group; =20 static const char * const cmd_help_usage[] =3D { "btrfs help [--full]", - "Dislay help information", + "Display help information", "", "--full display detailed help on every command", NULL diff --git a/cmds-balance.c b/cmds-balance.c index 38a7426..7633eae 100644 --- a/cmds-balance.c +++ b/cmds-balance.c @@ -472,7 +472,7 @@ static int cmd_balance_start(int argc, char **argv) =20 static const char * const cmd_balance_pause_usage[] =3D { "btrfs [filesystem] balance pause ", - "Pause running balance", + "Pause a running balance operation", NULL }; =20 @@ -509,7 +509,7 @@ static int cmd_balance_pause(int argc, char **argv) =20 static const char * const cmd_balance_cancel_usage[] =3D { "btrfs [filesystem] balance cancel ", - "Cancel running or paused balance", + "Cancel a running or paused balance operation", NULL }; =20 @@ -546,7 +546,7 @@ static int cmd_balance_cancel(int argc, char **argv) =20 static const char * const cmd_balance_resume_usage[] =3D { "btrfs [filesystem] balance resume ", - "Resume interrupted balance", + "Resume an interrupted balance operation", NULL }; =20 @@ -605,7 +605,7 @@ static int cmd_balance_resume(int argc, char **argv) =20 static const char * const cmd_balance_status_usage[] =3D { "btrfs [filesystem] balance status [-v] ", - "Show status of running or paused balance", + "Show status of a running or paused balance operation", "", "-v be verbose", NULL diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 1f53d1c..0aaee54 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -212,7 +212,7 @@ static void print_one_uuid(struct btrfs_fs_devices *fs_= devices) } =20 static const char * const cmd_show_usage[] =3D { - "btrfs filesystem show [--all-devices] [|