From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Philipp Subject: Re: [PATCH][btrfs progs] Update/clean up btrfs help and man page Date: Sat, 09 Oct 2010 22:12:31 +0200 Message-ID: <4CB0CCAF.6080905@gmail.com> References: <201009132124.09118.kreijack@libero.it> <4CB07234.1080102@gmail.com> <201010092133.32474.kreijack@libero.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-btrfs@vger.kernel.org, =?ISO-8859-1?Q?J=E9r=F4me_Poulin?= To: kreijack@libero.it Return-path: In-Reply-To: <201010092133.32474.kreijack@libero.it> List-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =20 Hi all, I tried the patch and found a few more things one might to update/clean up. Regarding the INSTALL file: - - There are three example lines for snapshot creation while two can show the same things. Regarding the help of the btrfs command: - - The line breaks in the source code for the help lines about the btrfs scan command were different from all other commands. - - The optional argument of the "scan" command was written in a strang= e way. - - Mixed usage of and . I changed it to . - - The "filesystem show" command accepts also the argument type . - - Sometimes there were just two dots instead of three. Regarding the btrfs command man page: - - Changed the example for ambiguous commands since "btrfs device show= " no longer exists. - - The optional argument of the "scan" command was written in a strang= e way. - - Mixed usage of and . I changed it to . - - The "filesystem show" command accepts also the argument type . - - Sometimes there were just two dots instead of three. - - In the summary, there was "filesystem defrag" instead of "filesyste= m defragment". My patch applies on top of the changes from Goffredo Baroncelli. Kind Regards, Andreas Philipp diff --git a/INSTALL b/INSTALL index 2c9cf1c..3840148 100644 - --- a/INSTALL +++ b/INSTALL @@ -35,9 +35,7 @@ btrfs: control program to create snapshots and subvolumes: =20 # snapshot of a subvolume btrfs subvolume snapshot /mnt/default /mnt/snapshot_of_default - - btrfs subvolume snapshot /mnt/new_subvol_name \ - - /mnt/snapshot_of_new_subvol - - btrfs subvolume snapshot /mnt/snapshot_of_new_subvol \ + btrfs subvolume snapshot /mnt/snapshot_of_default \ /mnt/snapshot_of_a_snapshot =20 # list of the subvolumes diff --git a/btrfs.c b/btrfs.c index a607786..1b1adb7 100644 - --- a/btrfs.c +++ b/btrfs.c @@ -84,7 +84,7 @@ static struct Command commands[] =3D { "the id of the device which grown or will shrink." }, { do_show_filesystem, 999, - - "filesystem show", "[|