linamh/www-client/prozilla/files/prozilla-2.0.4-Oopt-document-1.patch

45 lines
1.6 KiB
Diff
Raw Normal View History

Submitted By: Your Name (your at email dot address)
Date: 2010-08-29
Initial Package Version: 2.0.4
Origin: me
Upstream Status: dead
Description: Add Proper documentation to prozilla:
extend online help
update man Page
diff -Naur prozilla-2.0.4.orig/man/proz.1 prozilla-2.0.4/man/proz.1
--- prozilla-2.0.4.orig/man/proz.1 2010-08-29 11:26:11.000000000 +0000
+++ prozilla-2.0.4/man/proz.1 2010-08-29 11:38:20.000000000 +0000
@@ -31,6 +31,10 @@
.TP
\-\-no\-curses
Don't use the Curses interface, but the traditional plain text interface
+.SH "Filess:"
+.TP
+\-P, \-\-output\-document=FILE
+write documents to FILE
.SH "Directories:"
.TP
\-P, \-\-directory\-prefix=DIR
diff -Naur prozilla-2.0.4.orig/src/main.cpp prozilla-2.0.4/src/main.cpp
--- prozilla-2.0.4.orig/src/main.cpp 2010-08-29 11:26:11.000000000 +0000
+++ prozilla-2.0.4/src/main.cpp 2010-08-29 11:34:33.000000000 +0000
@@ -59,6 +59,7 @@
{"tries", required_argument, NULL, 't'},
{"force", no_argument, NULL, 'f'},
{"version", no_argument, NULL, 'v'},
+ {"output-document", required_argument, NULL, 'O'},
{"directory-prefix", required_argument, NULL, 'P'},
{"use-port", no_argument, NULL, 129},
{"retry-delay", required_argument, NULL, 130},
@@ -133,6 +134,9 @@
" -v,--verbose Increase the amount of information sent to stdout\n"
" --no-curses Don't use Curses, plain text to stdout\n"
"\n"
+ "Files:\n"
+ " -O, --output-document=FILE write documents to FILE\n"
+ "\n"
"Directories:\n"
" -P, --directory-prefix=DIR save the generated file to DIR/\n"
"\n"