Join GitHub today
Nicer group and target show-super output #13
This now prints "(none)" instead of uninitialized data for disks that aren't in a disk group.
The human-readable targets are now printed instead of just a number. E.g. "none" or "Group 1 (slow)" or "Device 3 (461f2a5f-a199-4887-aed9-f2ffd0372f66)" instead of just "3" or "257".
Also fixed the usage message and getopt string for the format command (-e is already there as an alias for --error_action, -g wasn't working for --group, and there isn't a -t anymore).
Finally, removed some superfluous strdup() calls which were never being freed (in this case the strdup was unnecessary since the argv strings will be available as long as the program is running).