Add grml-exec-wrapper manpage
authorMichael Prokop <mika@grml.org>
Sat, 4 Apr 2009 18:00:16 +0000 (20:00 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 4 Apr 2009 18:00:16 +0000 (20:00 +0200)
doc/grml-exec-wrapper.1.txt [new file with mode: 0644]

diff --git a/doc/grml-exec-wrapper.1.txt b/doc/grml-exec-wrapper.1.txt
new file mode 100644 (file)
index 0000000..4132ad2
--- /dev/null
@@ -0,0 +1,32 @@
+GRML-EXEC-WRAPPER(1)
+====================
+
+NAME
+----
+grml-exec-wrapper - simple but smart program execution wrapper
+
+SYNOPSIS
+--------
+*grml-chroot* [-p <program>] <program> [<arguments>]
+
+DESCRIPTION
+-----------
+*grml-exec-wrapper* is a wrapper script for executing commands
+but check whether the specified program is available at all.
+If the command is not available an error message is displayed
+either on the command line (if $DISPLAY is empty) or as graphical
+version (if $DISPLAY is set).
+
+OPTIONS
+-------
+*-h, help*::
+Show summary of options.
+
+*-p <program>*::
+Check specified program instead of default args. This is useful
+if you want to check for a program which is executed via another
+wrapper, as in: 'grml-exec-wrapper -p aumix xterm -T aumix -e aumix'
+
+AUTHOR
+------
+grml-chroot and this manpage were written by Michael Prokop <mika@grml.org>.