* Wrong error message when using unknown 2nd subcommand
@ 2012-02-24 5:48 Jan Engelhardt
2012-02-24 10:54 ` Ilya Dryomov
0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2012-02-24 5:48 UTC (permalink / raw)
To: linux-btrfs
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'
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Wrong error message when using unknown 2nd subcommand
2012-02-24 5:48 Wrong error message when using unknown 2nd subcommand Jan Engelhardt
@ 2012-02-24 10:54 ` Ilya Dryomov
0 siblings, 0 replies; 2+ messages in thread
From: Ilya Dryomov @ 2012-02-24 10:54 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: linux-btrfs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-24 10:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-24 5:48 Wrong error message when using unknown 2nd subcommand Jan Engelhardt
2012-02-24 10:54 ` Ilya Dryomov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).