Shouldn't "--verbose" be accepted as a long version of the option? That would mean adding it to long_options.
For verbose we provide -v in btrfs balance btrfs convert btrfs filesystem btrfs inspect-internal btrfs rescue and -v|--verbose in btrfs send btrfs restore btrfs subvolume we kind of lost the consistency. But most of it is -v.
The usage message cmd_device_scan_usage needs to be updated to include the new option(s).
Will do.
I have tested this on my systems (4.19 kernel) and it not only works well, it is useful to get the list of devices it finds. If you wish, feel free to add:
Thanks.
Tested-by: Graham Cobb <g.bt...@cobb.uk.net>
Thanks, Anand
Graham