Re: Wrong error message when using unknown 2nd subcommand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux