From adc39b533a8d1215205a2f3fba1e12d9c313ab5f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 27 Nov 2015 00:22:29 +0100 Subject: add shell tab-completion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/adjbacklight.auto-completion | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/adjbacklight.auto-completion (limited to 'src/adjbacklight.auto-completion') 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')) +) + -- cgit v1.2.3-70-g09d2