aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-12 05:34:59 +0200
committerMattias Andrée <maandree@operamail.com>2014-10-12 05:34:59 +0200
commit5bbbbb8fda9841d18d4e5bdfc28aa5a9bc79dcd2 (patch)
tree758ac126d38cb793209b0da6b23451e4469854ec /src
parentdist (diff)
downloadorphan-reaper-5bbbbb8fda9841d18d4e5bdfc28aa5a9bc79dcd2.tar.gz
orphan-reaper-5bbbbb8fda9841d18d4e5bdfc28aa5a9bc79dcd2.tar.bz2
orphan-reaper-5bbbbb8fda9841d18d4e5bdfc28aa5a9bc79dcd2.tar.xz
add info manual and completion2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/completion11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/completion b/src/completion
new file mode 100644
index 0000000..5f99ef4
--- /dev/null
+++ b/src/completion
@@ -0,0 +1,11 @@
+(orphan-reaper
+ (default (arg COMMAND) (files -r) (suggest cmd)
+ (desc 'Specify which command to run'))
+
+ (unargumented (options --fatal)
+ (complete --fatal)
+ (desc 'Fail if a subreaper cannot be created'))
+
+ (suggestion cmd (verbatim COMMAND))
+)
+