summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvapier <vapier@gentoo.org>2009-02-15 20:51:01 +0000
committervapier <vapier@gentoo.org>2009-02-15 20:51:01 +0000
commit6da3566d16454b62721def8b8181ea9ea01d8e18 (patch)
tree67e2184ca2250cd579e7d6528ad21550c20fcce0
parentadd real --help/--version handling (diff)
downloadgentoolkit-6da3566d16454b62721def8b8181ea9ea01d8e18.tar.gz
gentoolkit-6da3566d16454b62721def8b8181ea9ea01d8e18.tar.bz2
gentoolkit-6da3566d16454b62721def8b8181ea9ea01d8e18.zip
document new options
svn path=/; revision=545
-rwxr-xr-xtrunk/src/echangelog/echangelog1
-rw-r--r--trunk/src/echangelog/echangelog.112
2 files changed, 10 insertions, 3 deletions
diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog
index a1001da..a1494e2 100755
--- a/trunk/src/echangelog/echangelog
+++ b/trunk/src/echangelog/echangelog
@@ -49,6 +49,7 @@ sub usage {
Options:
--help err, this screen ...
--strict abort on trivial/no changes
+ --version show version info
EOF
print $usage;
exit 0;
diff --git a/trunk/src/echangelog/echangelog.1 b/trunk/src/echangelog/echangelog.1
index f83eaf7..e1b795a 100644
--- a/trunk/src/echangelog/echangelog.1
+++ b/trunk/src/echangelog/echangelog.1
@@ -164,9 +164,15 @@ ChangeLog itself. These updates are included in the diff displayed by
echangelog when it finishes its work.
.SH "OPTIONS"
.IX Header "OPTIONS"
-Presently echangelog is simple enough that it supplies no options.
-Probably I'll add \fB\-\-help\fR and \fB\-\-version\fR in the future, but for
-now it's enough to track the gentoolkit version.
+.TP
+.BR --help
+Display help output (just like this section ...).
+.TP
+.BR --strict
+Abort execution if only simple changes (like date changes) are found.
+.TP
+.BR --version
+Display version information.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
To create a ChangeLog for a completely new package. The header is