Skip to contentSkip to conversation

btrfs-progs: btrfs-debugfs: Display usage hint with no arguments

PATCH Lakshmipathi.G 1 participant 1 message Jan 3, 2017 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Yes. /mnt/file.txt is a mandatory argument. And -h/-b/-f are optional arugments. But the issue is, one of these optional argument is must. If we run:

btrfs-debugfs /mnt/file.txt

doesn't produce any output at all. From time to time, I run 'btrfs-debugfs /path/to/file' and wonder why no output received then realize I must pass either -f or -b. (May be '-f' needs be to set as 'default' when no optional argument is provided.)

Overall, the current patch provides verbose message and does nothing more, it can be ignored. End user needs to remember -f or -b must be passed for valid outputs.