Show query/verify selection options just once in --help
This commit is contained in:
parent
46f1247a27
commit
2e672f3fae
|
@ -233,8 +233,6 @@ struct poptOption rpmQueryPoptTable[] = {
|
|||
/* FIX: cast? */
|
||||
{ NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA | POPT_CBFLAG_CONTINUE,
|
||||
queryArgCallback, 0, NULL, NULL },
|
||||
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQVSourcePoptTable, 0,
|
||||
NULL, NULL },
|
||||
{ "configfiles", 'c', 0, 0, 'c',
|
||||
N_("list all configuration files"), NULL },
|
||||
{ "docfiles", 'd', 0, 0, 'd',
|
||||
|
@ -267,8 +265,6 @@ struct poptOption rpmVerifyPoptTable[] = {
|
|||
/* FIX: cast? */
|
||||
{ NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA | POPT_CBFLAG_CONTINUE,
|
||||
queryArgCallback, 0, NULL, NULL },
|
||||
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQVSourcePoptTable, 0,
|
||||
NULL, NULL },
|
||||
|
||||
/* Duplicate file verify flags from packages into command line options. */
|
||||
/** @todo Add --nomd5 alias to rpmpopt, eliminate. */
|
||||
|
|
8
rpmqv.c
8
rpmqv.c
|
@ -73,17 +73,15 @@ static int quiet;
|
|||
static struct poptOption optionsTable[] = {
|
||||
|
||||
#ifdef IAM_RPMQV
|
||||
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQVSourcePoptTable, 0,
|
||||
N_("Query/Verify package selection options:"),
|
||||
NULL },
|
||||
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQueryPoptTable, 0,
|
||||
N_("Query options (with -q or --query):"),
|
||||
NULL },
|
||||
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmVerifyPoptTable, 0,
|
||||
N_("Verify options (with -V or --verify):"),
|
||||
NULL },
|
||||
#ifdef NOTYET
|
||||
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmcliQVSourcePoptTable, 0,
|
||||
N_("Source options (with --query or --verify):"),
|
||||
NULL },
|
||||
#endif
|
||||
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmcliFtsPoptTable, 0,
|
||||
N_("File tree walk options (with --ftswalk):"),
|
||||
NULL },
|
||||
|
|
Loading…
Reference in New Issue