aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-27 00:22:29 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-27 00:22:29 +0100
commitadc39b533a8d1215205a2f3fba1e12d9c313ab5f (patch)
treea5abf1fca361e638adf40bfd810e648aa9c73eca /src
parentm doc (diff)
downloadadjbacklight-adc39b533a8d1215205a2f3fba1e12d9c313ab5f.tar.gz
adjbacklight-adc39b533a8d1215205a2f3fba1e12d9c313ab5f.tar.bz2
adjbacklight-adc39b533a8d1215205a2f3fba1e12d9c313ab5f.tar.xz
add shell tab-completion
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/adjbacklight.auto-completion19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/adjbacklight.auto-completion b/src/adjbacklight.auto-completion
new file mode 100644
index 0000000..aca9796
--- /dev/null
+++ b/src/adjbacklight.auto-completion
@@ -0,0 +1,19 @@
+(adjbacklight
+ (default (arg '(+|-|=)LEVEL[%|%%]') (files -0) (description 'Adjust backlight'))
+
+ (unargumented (options -c --copyright --copying) (complete --copying)
+ (desc 'Display copyright information'))
+
+ (unargumented (options -w --warranty) (complete --warranty)
+ (desc 'Display warranty disclaimer'))
+
+ (unargumented (options -a --all) (complete --all)
+ (desc 'Run for all devices, including ACPI devices'))
+
+ (unargumented (options -g --get) (complete --get)
+ (desc 'Get average brightness on devices'))
+
+ (argumented (options -s --set) (complete --set) (files 'LEVEL[%]') (files -0)
+ (desc 'Set brightness on devices'))
+)
+