1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

Completion for apm command (linux only).

This commit is contained in:
Chmouel Boudjnah 2001-04-01 01:12:07 +00:00
parent 7c48a9699e
commit e6be1f76cf
3 changed files with 22 additions and 0 deletions

@ -1,3 +1,7 @@
2001-04-01 Chmouel Boudjnah <chmouel@mandrakesoft.com>
* 13861: Completion/Linux/_apm: Completion for apm command (linux only).
2001-03-30 Clint Adams <schizo@debian.org>
* 13860: Completion/Debian/_deb_packages: caching layer support.

@ -1,5 +1,6 @@
DISTFILES_SRC='
.distfiles
_rpm
_apm
'

17
Completion/Linux/_apm Normal file

@ -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]'