about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/.distfiles1
-rw-r--r--Completion/Linux/_apm17
2 files changed, 18 insertions, 0 deletions
diff --git a/Completion/Linux/.distfiles b/Completion/Linux/.distfiles
index e99912a5c..6bf933087 100644
--- a/Completion/Linux/.distfiles
+++ b/Completion/Linux/.distfiles
@@ -1,5 +1,6 @@
 DISTFILES_SRC='
     .distfiles
     _rpm
+	_apm
 '
 
diff --git a/Completion/Linux/_apm b/Completion/Linux/_apm
new file mode 100644
index 000000000..d97afcd05
--- /dev/null
+++ b/Completion/Linux/_apm
@@ -0,0 +1,17 @@
+#compdef apm
+_arguments -C -s \
+    '(--version)-V[print the apm program and exit immediately]' \
+    '(-V)--version[print the apm program and exit immediately]' \
+    '(--verbose)-v[print information about APM BIOS and Linux APM driver version]' \
+    '(-v)--verbose[print information about APM BIOS and Linux APM driver version]' \
+    '(--minutes)-m[print total minutes remaining instead of using an hh:mm format]' \
+    '(-m)--minutes[print total minutes remaining instead of using an hh:mm format]' \
+    '(--suspend)-s[put the machine into suspend mode if possible]' \
+    '(-s)--suspend[put the machine into suspend mode if possible]' \
+    '(--stanbdby)-S[put the machine into standby mode if possible]' \
+    '(-S)--standby[put the machine into standby mode if possible]' \
+    '(--noignore)-n[tell the system not to ignore system-generated APM message]' \
+    '(-n)--noignore[tell the system not to ignore system-generated APM message]' \
+    '(--ignore)-i[tell the system to ignore system-generated APM message]' \
+    '(-i)--ignore[tell the system to ignore system-generated APM message]'
+