summaryrefslogtreecommitdiff
path: root/scripts/xdg-su.in
diff options
context:
space:
mode:
authorKevin Krammer <kevin.krammer@gmx.at>2006-04-24 20:51:10 +0000
committerKevin Krammer <kevin.krammer@gmx.at>2006-04-24 20:51:10 +0000
commit602519f7564a58c6ea33134aee6845494466407e (patch)
tree167b75b68ef3be231c4bae78410f545d3781f253 /scripts/xdg-su.in
parenta24c750b597f2191e20b91a04d11f27eadd0703b (diff)
Added a documentation extraction AWK script created by Benedikt Meurer which
replaces the sed code and adds extraction of examples additionally to the usage info. Added printing of examples to the --help command.
Diffstat (limited to 'scripts/xdg-su.in')
-rwxr-xr-xscripts/xdg-su.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/xdg-su.in b/scripts/xdg-su.in
index 68a7242..9d0a847 100755
--- a/scripts/xdg-su.in
+++ b/scripts/xdg-su.in
@@ -15,6 +15,12 @@
#
#---------------------------------------------
+examples()
+{
+cat << _EXAMPLES
+_EXAMPLES
+}
+
usage()
{
cat << _USAGE