Permalink
Browse files

Remove short options for help and version to be more inline with stan…

…dard Unix tools. Fixed passing height argument
  • Loading branch information...
1 parent 920a82b commit 05c9f0a54f5aa8b4b31a655c84a6f97f5ec40a01 @mlundblad committed Jun 26, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 README
  2. +3 −3 src/Tracer.c
View
@@ -23,7 +23,7 @@ PPM format (this is the only possible output format right now).
For a list of available options, run:
-$ protracer -?
+$ protracer --help
For further information or questions, contact the author on: ml@update.uu.se
View
@@ -131,9 +131,9 @@ static void usage(void)
"set picture height\n");
fprintf(stderr, " -o, --output=FILE "
"set output file\n");
- fprintf(stderr, " -?, --help "
+ fprintf(stderr, " --help "
"print this help\n");
- fprintf(stderr, " -v, --version "
+ fprintf(stderr, " --version "
"print version information\n");
fprintf(stderr, " -q, --quiet "
"don't print a progress meter\n");
@@ -189,7 +189,7 @@ int main( int argc, char **argv )
{0, 0, 0, 0}
};
- while ((c = getopt_long(argc, argv, "qhvn?r:z:x:y:w:e:o:", long_options,
+ while ((c = getopt_long(argc, argv, "qnr:z:x:y:w:h:e:o:", long_options,
&opt_ind) ) != EOF )
{
switch( c )

0 comments on commit 05c9f0a

Please sign in to comment.