diff options
author | Alasdair G Kergon <agk@redhat.com> | 2015-08-13 22:30:39 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2015-08-13 22:30:39 +0100 |
commit | 043fb32c4b67d1456a77ab7caf0d077f419fae88 (patch) | |
tree | 21b752686448ae51c0b71fafc15b91aa3a918ba4 /libdm/.exported_symbols.DM_1_02_105 | |
parent | b3cd5d294503fcfa4b826456e17071a909d739e1 (diff) | |
download | lvm2-043fb32c4b67d1456a77ab7caf0d077f419fae88.tar.gz |
dmsetup: Restructure arg handling.
Introduce enums and global variables to record cleanly which command we
are processing and eliminate the historically inconsistent use of the
shifted argv[0] and fix assorted bugs discovered along the way.
Add dm_report_is_empty() to indicate there is no data awaiting output
and use this to suppress dmsetup report headings when no data is output
so we don't get a stray line saying 'Help' at the end of reporting help.
Define a report type (as the interface requires) so -o all selects
the right fields in splitname. (A fix for stats list will follow.)
Exit immediately if no device is supplied to dmsetup wipe_table instead
of hitting errors later and failing.
Adjust the command name printed in usage/help output to match command
invoked (most of the time).
Diffstat (limited to 'libdm/.exported_symbols.DM_1_02_105')
-rw-r--r-- | libdm/.exported_symbols.DM_1_02_105 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdm/.exported_symbols.DM_1_02_105 b/libdm/.exported_symbols.DM_1_02_105 new file mode 100644 index 000000000..9b701f147 --- /dev/null +++ b/libdm/.exported_symbols.DM_1_02_105 @@ -0,0 +1 @@ +dm_report_is_empty |