From: Ilya Dryomov <idryomov@gmail.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Wrong error message when using unknown 2nd subcommand
Date: Fri, 24 Feb 2012 12:54:16 +0200 [thread overview]
Message-ID: <20120224105416.GA2023@zambezi.lan> (raw)
In-Reply-To: <alpine.LNX.2.01.1202240647260.12486@frira.zrqbmnf.qr>
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
prev parent reply other threads:[~2012-02-24 10:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-24 5:48 Wrong error message when using unknown 2nd subcommand Jan Engelhardt
2012-02-24 10:54 ` Ilya Dryomov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120224105416.GA2023@zambezi.lan \
--to=idryomov@gmail.com \
--cc=jengelh@medozas.de \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).