summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmou@users.sourceforge.net>2001-04-01 01:12:07 +0000
committerChmouel Boudjnah <chmou@users.sourceforge.net>2001-04-01 01:12:07 +0000
commite6be1f76cf77a63dd79dbe3d6eea62815caa87ab (patch)
treef74ba6c63523abacafb6bec9b69bae84476ed011 /Completion
parent7c48a9699ef4fa0d00461c5815280c681bcd5483 (diff)
downloadzsh-e6be1f76cf77a63dd79dbe3d6eea62815caa87ab.tar.gz
zsh-e6be1f76cf77a63dd79dbe3d6eea62815caa87ab.tar.xz
zsh-e6be1f76cf77a63dd79dbe3d6eea62815caa87ab.zip
Completion for apm command (linux only).
Diffstat (limited to 'Completion')
-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]'
+