diff options
author | Karel Zak | 2012-07-26 09:04:55 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-26 09:22:35 +0200 |
commit | 217d20a73c6ad502292af8a4e9e1158949b62346 (patch) | |
tree | 7207135a7309342d37fe0169a78ed2370f4bafb7 /disk-utils/partx.c | |
parent | lsblk: fix dm_name usage (diff) | |
download | kernel-qcow2-util-linux-217d20a73c6ad502292af8a4e9e1158949b62346.tar.gz kernel-qcow2-util-linux-217d20a73c6ad502292af8a4e9e1158949b62346.tar.xz kernel-qcow2-util-linux-217d20a73c6ad502292af8a4e9e1158949b62346.zip |
include/optutils: add err_exclusive_options()
This is improved implementation of exclusive_option(). The new
implementation:
- uses regular struct option to compose error messages
- relationships between options are described in one const static array
- the current status is stored in one int array
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/partx.c')
0 files changed, 0 insertions, 0 deletions