Tue Oct 5 23:59:22 EST 1999

(Christian)

Give help on the command line more easily. iirc --help
is recommended by the GNU coding standards.


SVN revision: 679
This commit is contained in:
Christian Kreibich 1999-10-06 00:52:59 +00:00
parent c259db1820
commit 8640e4365e
2 changed files with 10 additions and 1 deletions

View File

@ -3094,3 +3094,11 @@ Tue Oct 5 20:58:06 PDT 1999
(Mandrake)
hide any tooltips whenever we change desktops.
-------------------------------------------------------------------------------
Tue Oct 5 23:59:22 EST 1999
(Christian)
Give help on the command line more easily. iirc --help
is recommended by the GNU coding standards.

View File

@ -142,7 +142,8 @@ main(int argc, char **argv)
{
no_overwrite = 1;
}
else if (!strcmp("-help", argv[j]))
else if ((!strcmp("-help", argv[j])) || (!strcmp("--help", argv[j]))
|| (!strcmp("-h", argv[j])) || (!strcmp("-?", argv[j])))
{
printf("enlightenment options: \n"
"\t-theme /path/to/theme \n"