Re: [PATCH] btrfs-progs: btrfs-debugfs: Display usage hint with no arguments

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

 



Sorry about the misleading subject line. This patch is for missing
optional arguments.

Before the patch:
$ ./btrfs-debugfs /mnt/file.txt   # Does nothing and silently fails.

After the patch:
$ ./btrfs-debugfs /mnt/file.txt
No arguments passed. Type 'btrfs-debugfs -h' for usage.


----
Cheers,
Lakshmipathi.G
FOSS Programmer.
www.giis.co.in


On Tue, Jan 3, 2017 at 8:16 PM, David Sterba <dsterba@xxxxxxx> wrote:
> This is what I see when no arguments pare passed:
>
> $ ./btrfs-debugfs
> usage: btrfs-debugfs [-h] [-b] [-f] path [path ...]
> btrfs-debugfs: error: too few arguments
>
> And that's exactly the same output as with this patch applied. Am I missing
> something?
--
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