aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-02-26 17:21:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-02-26 17:21:10 +1300
commit29f6d8bd385cb0eb44b76f681fcc6688158eea52 (patch)
treefaeb950ca673dd370c1ad3044abacade76f47192 /man
parentMore consistent descriptions of binscripts (diff)
downloaddotfiles-29f6d8bd385cb0eb44b76f681fcc6688158eea52.tar.gz
dotfiles-29f6d8bd385cb0eb44b76f681fcc6688158eea52.zip
Add igex(1)
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>
+