summaryrefslogtreecommitdiff
path: root/scripts/xdg-utils-common.in
diff options
context:
space:
mode:
authorWaldo Bastian <waldo.bastian@intel.com>2006-06-15 00:44:19 +0000
committerWaldo Bastian <waldo.bastian@intel.com>2006-06-15 00:44:19 +0000
commit8cbf5169ec50e15872aeb73006689bdd5afe7007 (patch)
treeea873509516b42d4b6bb4f0a3d1b03485f9bf742 /scripts/xdg-utils-common.in
parent1a7591e6f1f0097ab54dc42894f12c2132264c2d (diff)
* --help: Don't show examples, refer to --manual for additional info
* Added --manual: Show entire manual page
Diffstat (limited to 'scripts/xdg-utils-common.in')
-rw-r--r--scripts/xdg-utils-common.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/xdg-utils-common.in b/scripts/xdg-utils-common.in
index 88d2cfc..25acc81 100644
--- a/scripts/xdg-utils-common.in
+++ b/scripts/xdg-utils-common.in
@@ -29,6 +29,7 @@ exit_failure_syntax()
echo "Try '@NAME@ --help' for more information." >&2
else
usage
+ echo "Use 'man @NAME@' or '@NAME@ --manual' for additional info."
fi
exit 1
@@ -83,7 +84,12 @@ check_common_commands()
case $parm in
--help)
usage
- examples
+ echo "Use 'man @NAME@' or '@NAME@ --manual' for additional info."
+ exit_success
+ ;;
+
+ --manual)
+ manualpage
exit_success
;;