summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2011-12-25 18:45:41 +0100
committerTimo Weingärtner <timo@tiwe.de>2012-01-13 23:43:16 +0100
commit8f967e3c65d1ecf6c43a6ff41b70f0fe47e64480 (patch)
tree30cdda2b700afae789137df75ab6dd9f96509718
parenta40bb6e7fd6e74e8b2d2222bba9421b580577e8e (diff)
downloadhadori-8f967e3c65d1ecf6c43a6ff41b70f0fe47e64480.tar.gz
clarify description for --stdin
-rw-r--r--hadori.17
-rw-r--r--hadori.C2
2 files changed, 5 insertions, 4 deletions
diff --git a/hadori.1 b/hadori.1
index c1218b9..df947f2 100644
--- a/hadori.1
+++ b/hadori.1
@@ -1,5 +1,5 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
-.TH HADORI "1" "November 2011" "hadori 0.1" "User Commands"
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.5.
+.TH HADORI "1" "January 2012" "hadori 0.1" "User Commands"
.SH NAME
hadori \- hadori
.SH DESCRIPTION
@@ -26,7 +26,8 @@ show which files get linked
show files being examined
.TP
\fB\-s\fR [ \fB\-\-stdin\fR ]
-read arguments from stdin, one per line
+read arguments from stdin, one per line; you can't
+combine that with arguments on the commandline
.TP
\fB\-0\fR [ \fB\-\-null\fR ]
implies \fB\-\-stdin\fR, but use null bytes as delimiter
diff --git a/hadori.C b/hadori.C
index 46ea864..376e2f0 100644
--- a/hadori.C
+++ b/hadori.C
@@ -173,7 +173,7 @@ int main (int const argc, char ** argv) {
("dry-run,n", "don't change anything, implies --verbose")
("verbose,v", "show which files get linked")
("debug,d", "show files being examined")
- ("stdin,s", "read arguments from stdin, one per line")
+ ("stdin,s", "read arguments from stdin, one per line; you can't combine that with arguments on the commandline")
("null,0", "implies --stdin, but use null bytes as delimiter")
;
po::options_description all_opts;