Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2000:
[Freeciv-Dev] --help
Home

[Freeciv-Dev] --help

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] --help
From: Per Inge Mathisen <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Tue, 18 Jan 2000 17:30:40 +0100 (MET)

I noticed that client/civclient.c and client/gui-*/gui_main.c both
contain code to handle "--help". Not only is this redundant, it
also produces some strange behaviour. Try "-h" and compare with
"--help" (gtk client). Also "usage" line always says "--option" while
in civclient.c, in the rest of the --help, the format "-option" is 
used. It is also rather unfortunate that the root check is done
before parsing for --help and --version, since both these should
be available to root.

Interested in a patch to fix this or is it done this way for a 
reason?

Yours,
Per


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