Bug#642302: btrfs-tools: btrfs(8) manpage and btrfs --help output mismatch

2011-10-10 Thread Sebastian Harl
Hi,

On Wed, Sep 21, 2011 at 11:19:20AM +0100, Lars Wirzenius wrote:
> The btrfs(8) manpage and the output of "/sbin/btrfs --help" do not
> entirely agree on some things.

> * manpage: btrfs device show | [|...]
>   --help:  btrfs filesystem show [|]
> 
>   The --help version seems to work, the former does not.

Please also note that the error message of 'btrfs device show' is kinda
misleading: ERROR: unknown command 'device'
I suppose that the code uses argv[1] while it should be using argv[2].

Also, the 'btrfs --help' output includes certain commands not mentioned
in the manpage, like 'btrfs filesystem df'.

TIA,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin



signature.asc
Description: Digital signature


Bug#642302: btrfs-tools: btrfs(8) manpage and btrfs --help output mismatch

2011-09-21 Thread Daniel Baumann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

retitle 642302 please update manpages
retitle 638778 pelase update manpages
thanks

On 09/21/2011 12:47 PM, Lars Wirzenius wrote:
> could you perhaps not mistitle bugs in the future?

better?

- -- 
Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:  daniel.baum...@progress-technologies.net
Internet:   http://people.progress-technologies.net/~daniel.baumann/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk55xDcACgkQ+C5cwEsrK54j1QCgi3DvFOJvj4/uZilsmaIhXqqR
I0YAoIl3qNVSj7VaSoqSWa8UZkB9S2Gl
=1+oV
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#642302: btrfs-tools: btrfs(8) manpage and btrfs --help output mismatch

2011-09-21 Thread Lars Wirzenius
On Wed, Sep 21, 2011 at 12:29:19PM +0200, Daniel Baumann wrote:
> retitle 642302 please update defrag documentation
> forcemerge 638778 642302
> thanks
> 
> i would appreciate if at least DDs would check the bts before filling
> duplicates, in particular if the package in question has less than 10
> bugs it's hard to miss.

Oh please. I did check the BTS. The title "please update defrag
documentation" did not imply to me that it covered the bug I was
reporting. I'm sorry I didn't read through every open bug. However,
could you perhaps not mistitle bugs in the future? The bug I
reported was not just about defrag, it mentioned a whole bunch
of other problems in the manpage as well.

-- 
Freedom-based blog/wiki/web hosting: http://www.branchable.com/


signature.asc
Description: Digital signature


Bug#642302: btrfs-tools: btrfs(8) manpage and btrfs --help output mismatch

2011-09-21 Thread Daniel Baumann
retitle 642302 please update defrag documentation
forcemerge 638778 642302
thanks

i would appreciate if at least DDs would check the bts before filling
duplicates, in particular if the package in question has less than 10
bugs it's hard to miss.

-- 
Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:  daniel.baum...@progress-technologies.net
Internet:   http://people.progress-technologies.net/~daniel.baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#642302: btrfs-tools: btrfs(8) manpage and btrfs --help output mismatch

2011-09-21 Thread Lars Wirzenius
Package: btrfs-tools
Version: 0.19+20101101-2
Severity: normal

The btrfs(8) manpage and the output of "/sbin/btrfs --help" do not
entirely agree on some things.

* manpage: btrfs filesystem defrag | [|...]
 --help:  btrfs filesystem defragment [-vcf] [-s start] [-l len] [-t size] 
| [|...]

  It might be that both names work, but it'd be nice if the documentation
  was consistent.

* manpage: btrfs device show | [|...]
  --help:  btrfs filesystem show [|]

  The --help version seems to work, the former does not.

* manpage: btrfs device balance 
  --help:  btrfs filesystem balance 

  Same as for "device show".

--help also mentions two commands the manpage does not:

  btrfs subvolume find-new  
  btrfs filesystem df 


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages btrfs-tools depends on:
ii  e2fslibs1.42~WIP-2011-09-16-1
ii  libc6   2.13-21  
ii  libcomerr2  1.42~WIP-2011-09-16-1
ii  libuuid12.19.1-5 
ii  zlib1g  1:1.2.3.4.dfsg-3 

btrfs-tools recommends no packages.

btrfs-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org