Thread (2 messages) 2 messages, 2 authors, 2012-02-24

Re: Wrong error message when using unknown 2nd subcommand

From: Ilya Dryomov <idryomov@gmail.com>
Date: 2012-02-24 10:54:16

On Fri, Feb 24, 2012 at 06:48:58AM +0100, Jan Engelhardt wrote:
In btrfsprogs-0.19, using an unknown second argument (fd, misspelled) 
leads to an error message complaining about the first argument (it 
should report the second one instead).

$ btrfs fi df
ERROR: 'filesystem df' requires 1 arg(s)
$ btrfs fi fd
ERROR: unknown command 'fi'
Yep, that's one of the bugs in the current progs parser.  I rewrote it
completely, it's available from the 'parser' branch of Chris'
btrfs-progs repo and should be merged into master shortly.

Thanks,

		Ilya
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help