Wrong error message when using unknown 2nd subcommand

Jan Engelhardt
Fri, 24 Feb 2012 05:48:58 -0000

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''
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html