aboutsummaryrefslogtreecommitdiffstats
path: root/src/completion
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-12 05:35:14 +0200
committerMattias Andrée <maandree@operamail.com>2014-10-12 05:35:14 +0200
commitde23af9a8c9b9f8713e13f88a0a25cfd6614998b (patch)
tree9151d95f39ccfd0e5fd2f281d14aa048a02a6f12 /src/completion
parentdist (diff)
downloadslack-2.tar.gz
slack-2.tar.bz2
slack-2.tar.xz
m fix doc + add info manual and completion2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/completion')
-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..45637e5
--- /dev/null
+++ b/src/completion
@@ -0,0 +1,11 @@
+(slack
+ (default (arg VERB_INTERVAL_OR_COMMAND) (files -r) (suggest cmd)
+ (desc 'Specify which command to run'))
+
+ (unargumented (options --fatal)
+ (complete --fatal)
+ (desc 'Fail if the timer slack cannot be set'))
+
+ (suggestion cmd (verbatim get GET reset INTERVAL COMMAND))
+)
+