summaryrefslogtreecommitdiff
path: root/gtkdoc-rebase.in
diff options
context:
space:
mode:
authorStefan Kost <stefkost@src.gnome.org>2009-01-08 09:24:14 +0000
committerStefan Kost <stefkost@src.gnome.org>2009-01-08 09:24:14 +0000
commitf5966c260195d7afeb7c7212f10a2ec2171c6441 (patch)
treedb601355732ab1b20f72adc78cd572df10ce4a65 /gtkdoc-rebase.in
parentef5f56ca5fd4a077e6f7a374e8dd333b7a6a8d42 (diff)
downloadgtk-doc-f5966c260195d7afeb7c7212f10a2ec2171c6441.tar.gz
Add support for --help and --version to remaining tools. Also show a short
* gtkdoc-check.in: * gtkdoc-depscan.in: * gtkdoc-fixxref.in: * gtkdoc-mkdb.in: * gtkdoc-mkhtml.in: * gtkdoc-mkman.in: * gtkdoc-mktmpl.in: * gtkdoc-rebase.in: * gtkdoc-scan.in: * gtkdoc-scangobj.in: * gtkdoc-scanobj.in: * gtkdocize.in: Add support for --help and --version to remaining tools. Also show a short info on --help and format more consistently. Fixes #566911 svn path=/trunk/; revision=636
Diffstat (limited to 'gtkdoc-rebase.in')
-rw-r--r--gtkdoc-rebase.in29
1 files changed, 16 insertions, 13 deletions
diff --git a/gtkdoc-rebase.in b/gtkdoc-rebase.in
index 874d910..d22cb86 100644
--- a/gtkdoc-rebase.in
+++ b/gtkdoc-rebase.in
@@ -61,19 +61,22 @@ if ($PRINT_VERSION) {
}
if ($PRINT_HELP) {
- print "gtkdoc-rebase version @VERSION@\n";
- print "\n--html-dir=HTML_DIR The directory which contains the installed HTML";
- print "\n--other-dir=OTHER_DIR Directories to recursively scan for indices (index.sgml)";
- print "\n May be used more than once for multiple directories";
- print "\n--online Prefer cross-references to online documents";
- print "\n--relative Prefer relative cross-references";
- print "\n--aggressive Rebase links to all files that are under a directory";
- print "\n matching a package name.";
- print "\n--dest-dir=ROOT_DIR Staging area virtual root, this prefix will be removed";
- print "\n from HTML_DIR fore relative link calculation.";
- print "\n--verbose Be verbose";
- print "\n--version Print the version of this program";
- print "\n--help Print this help\n";
+ print <<EOF;
+gtkdoc-rebase version @VERSION@ - rewrite the base url of html files
+
+--html-dir=HTML_DIR The directory which contains the installed HTML
+--other-dir=OTHER_DIR Directories to recursively scan for indices (index.sgml)
+ May be used more than once for multiple directories
+--online Prefer cross-references to online documents
+--relative Prefer relative cross-references
+--aggressive Rebase links to all files that are under a directory
+ matching a package name.
+--dest-dir=ROOT_DIR Staging area virtual root, this prefix will be removed
+ from HTML_DIR fore relative link calculation.
+--verbose Be verbose
+--version Print the version of this program
+--help Print this help
+EOF
exit 0;
}