mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 07:02:45 +00:00
a1a5000984
This adds a global --format option to request extended output formats from each command. We currently only support text mode. Command help reports what output formats are available for each command. Global help reports what valid formats are. If an invalid format is requested, an error is reported and lists the valid formats. Each command sets a bitmask that describes which formats it is capable of outputting. If a globally valid format is requested of a command that doesn't support it, an error is reported and command usage dumped. Commands don't need to specify that they support text output. All commands are required to output text. Signed-off-by: Jeff Mahoney <jeffm@suse.com> [ use global config instead of passing cmd_context ] Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
fsfeatures.c | ||
fsfeatures.h | ||
help.c | ||
help.h | ||
internal.h | ||
messages.c | ||
messages.h | ||
rbtree-utils.c | ||
rbtree-utils.h | ||
string-table.c | ||
string-table.h | ||
task-utils.c | ||
task-utils.h | ||
utils.c | ||
utils.h |