mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-25 18:50:51 +03:00
lvm: option description only for man generator
There is no need to include option description text within command binary itself. It's only used only for man generating.
This commit is contained in:
parent
01e4764c40
commit
b2f8e744de
@ -47,7 +47,11 @@ static const struct val_name val_names[VAL_COUNT + 1] = {
|
||||
/* create table of option names, e.g. --foo, and corresponding enum from args.h */
|
||||
|
||||
static const struct opt_name opt_names[ARG_COUNT + 1] = {
|
||||
#ifndef MAN_PAGE_GENERATOR
|
||||
#define arg(a, b, c, d, e, f, g) { NULL, "--" c, b, a, d, e, f },
|
||||
#else
|
||||
#define arg(a, b, c, d, e, f, g) { g, "--" c, b, a, d, e, f },
|
||||
#endif
|
||||
#include "args.h"
|
||||
#undef arg
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user