Renamed --output_dir option to --output-dir
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 3 Sep 2011 17:17:23 +0000 (17:17 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 3 Sep 2011 17:17:23 +0000 (17:17 +0000)
NEWS
src/main.c
src/ppastats.1

diff --git a/NEWS b/NEWS
index 91c7cf4..eb1dd8a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
 ** Added help for -s option.
 ** Don't generate manpage if help2man not present.
 ** Generate html page for the PPA.
+** Renamed --output_dir option to --output-dir.
 
 * v0.0.3
 ** Generated HTML pages for package versions.
index c9a94fd..75116e2 100644 (file)
@@ -86,7 +86,7 @@ static void display_published_binaries(const char *owner,
 static struct option long_options[] = {
        {"version", no_argument, 0, 'v'},
        {"help", no_argument, 0, 'h'},
-       {"output_dir", required_argument, 0, 'o'},
+       {"output-dir", required_argument, 0, 'o'},
        {"debug", no_argument, 0, 'd'},
        {"status", required_argument, 0, 's'},
        {0, 0, 0, 0}
@@ -122,7 +122,7 @@ static void print_help()
        puts("");
 
        puts("\
-  -o, --output_dir=[PATH]       \
+  -o, --output-dir=[PATH]       \
 generates HTML pages into 'PATH'.");
 
        puts("\
index cb4bda0..9c2162f 100644 (file)
@@ -17,7 +17,7 @@ display this help and exit
 \fB\-v\fR, \fB\-\-version\fR
 display version information and exit
 .TP
-\fB\-o\fR, \fB\-\-output_dir\fR=\fI[PATH]\fR
+\fB\-o\fR, \fB\-\-output\-dir\fR=\fI[PATH]\fR
 generates HTML pages into 'PATH'.
 .TP
 \fB\-s\fR, \fB\-\-status\fR=\fI[STATUS]\fR