gnats-prs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnats/262: [PATCH] Query-pr help text should match man page and man


From: Yngve Svendsen
Subject: Re: gnats/262: [PATCH] Query-pr help text should match man page and manual
Date: 4 Oct 2001 19:24:00 -0000

The following reply was made to PR gnats/262; it has been noted by GNATS.

From: Yngve Svendsen <address@hidden>
To: Milan Zamazal <address@hidden>
Cc: address@hidden
Subject: Re: gnats/262: [PATCH] Query-pr help text should match man
  page and manual
Date: Thu, 04 Oct 2001 21:21:31 +0200

 The following patch matches up the help text of query-pr with the usage 
 documented in the man page and in the manual.
 
 I am setting 
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?database=gnats&cmd=view&pr=262 
 to analyzed.
 
 - Yngve
 
 
 
 
 
 Index: query-pr.c
 ===================================================================
 RCS file: /cvs/gnats/gnats/gnats/query-pr.c,v
 retrieving revision 1.39
 diff -u -p -r1.39 query-pr.c
 --- query-pr.c 2001/04/15 18:11:51     1.39
 +++ query-pr.c 2001/10/04 19:12:48
 @@ -124,40 +124,52 @@ static const char *const USAGE[] = {
     "Usage: " PROGRAM_NAME " [OPTION]... [PR]...\n\
   Query database.\n\
   \n",
 -"Lookup options:\n\
 -     --expr=EXPRESSION     -& --and                  -I --or\n\
 -  -c --category=REGEXP     -t --text=REGEXP          -u 
 --required-before=DATE\n\
 -  -L --class=REGEXP        -m --multitext=REGEXP     -U 
 --required-after=DATE\n\
 -  -y --synopsis=REGEXP     -R --restricted           -b 
 --arrived-before=DATE\n\
 -  -O --originator=REGEXP   -C --confidential=yes|no  -a 
 --arrived-after=DATE\n",
 -  "\
 -  -S --submitter=REGEXP    -s --state=REGEXP         -B 
 --modified-before=DATE\n\
 -  -r --responsible=REGEXP  -x --skip-closed          -M 
 --modified-after=DATE\n\
 -  -p --priority=REGEXP     -E --cases=REGEXP         -z 
 --closed-before=DATE\n\
 -  -e --severity=REGEXP     -A --release=REGEXP       -Z --closed-after=DATE\n\
 -  -K --keywords=REGEXP     -Q --quarter=REGEXP\n\
 +"Options:\n\
 +          [--debug | -D] [--help | -h] [--version | -V]\n\
 +          [--output file | -o file] [--list-databases]\n\
 +          [--list-fields] [--list-input-fields]\n\
 +          [--responsible-address address] [--field-type type]\n\
 +          [--field-description description]\n\
 +          [--valid-values values] [--format format | -f format]\n\
 +          [--full | -F] [--summary | -q]\n\
 +          [--database database | -d database] [--and | -&]\n\
 +          [--or | -|] [--expr expr] [gnats-id ...]\n\
   \n",
 -  "Output options:\n\
 -  -o --output=FILE         -f --format=FORMAT_ID\n\
 -  -F --full        -q --summary       -i --sql       -I --sql2\n\
 +  "Non-network-mode options:\n\
 +          [--print-sh-vars] [--print-directory-for-database]\n\
   \n",
 -  "Listing options:\n\
 -  -j 
 --list-categories        --list-databases   --print-directory-for-database\n\
 -  -T --list-states         -l --list-submitters  --print-sh-vars\n\
 -     --list-fields            --list-responsible --print-server-addr\n\
 -     --list-input-fields\n\
 +  "Network-mode-only options:\n\
 +          [--host host | -H host] [--port port]\n\
 +          [--user user | -v user] [--passwd passwd | -w passwd]\n\
   \n",
 -  "Field info:\n\
 -  --field-type=FIELD          --adm-field=FIELD       --valid-values=FIELD\n\
 -  --field-description=FIELD   --adm-subfield=SUBFIELD\n\
 -  --field-flags=FIELD         --adm-key=KEY 
 --responsible-address=ID\n\
 -\n",
 -  "Database options:\n\
 -  -d --database=DATABASE   -H --host=SERVER             --port=PORT\n\
 -  -v --user=NETID          -w --passwd=PASSWORD\n\
 -\n\
 -Other options:\n\
 -  -D --debug               -h --help                 -V --version\n",
 +  "Deprecated options\n\
 +          [--list-categories | -j] [--list-classes | -J]\n\
 +          [--list-responsible | -k] [--list-submitters | -l]\n\
 +          [--list-states | -T]\n\
 +          [--category category | -c category]\n\
 +          [--synopsis synopsis | -y synopsis]\n\
 +          [--confidential confidential | -C confidential]\n\
 +          [--multitext multitext | -m multitext]\n\
 +          [--originator originator | -O originator]\n\
 +          [--release release | -A release]\n\
 +          [--class class | -L class] [--cases cases | -E cases]\n\
 +          [--quarter quarter | -Q quarter]\n\
 +          [--keywords keywords | -K keywords]\n\
 +          [--priority priority | -p priority]\n\
 +          [--responsible responsible | -r responsible]\n\
 +          [--restricted | -R] [--severity severity | -e severity]\n\
 +          [--skip-closed | -x] [--sql | -i] [--sql2 | -I]\n\
 +          [--state state | -s state]\n\
 +          [--submitter submitter | -S submitter]\n\
 +          [--text text | -t text]\n\
 +          [--required-before date | -u date]\n\
 +          [--required-after date | -U date]\n\
 +          [--arrived-before date | -b date]\n\
 +          [--arrived-after date | -a date]\n\
 +          [--modified-before date | -B date]\n\
 +          [--modified-after date | -M date]\n\
 +          [--closed-before date | -z date]\n\
 +          [--closed-after date | -Z date]\n\n",
     NULL};
   
   
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]