aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/man1/igex.120
1 files changed, 20 insertions, 0 deletions
diff --git a/man/man1/igex.1 b/man/man1/igex.1
new file mode 100644
index 00000000..464070aa
--- /dev/null
+++ b/man/man1/igex.1
@@ -0,0 +1,20 @@
+.TH IGEX 1 "February 2016" "Manual page for igex"
+.SH NAME
+.B igex
+\- run a command, ignoring specified error exit values
+.SH USAGE
+.B igex [-hv] -i IGNORE1[,IGNORE2...] [--] COMMAND [ARG1...]
+.SH DESCRIPTION
+Runs the given command and checks its exit value. If it matches any of the
+ignored values given in -i, exits 0. Otherwise, exits with the command's exit
+value as normal.
+.P
+Option -h gives help, option -v turns on verbose output, option -i specifies an
+the signals to ignore, comma-delimited; you must specify at least one non-zero
+integer.
+.P
+ $ igex -i1 false
+ $ igex -v -i24 rsync source dest
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
+