diff options
author | nate <nate@FreeBSD.org> | 1996-03-13 00:48:06 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-03-13 00:48:06 +0000 |
commit | 2be838b1dc40d342a95339a2a106ba2ed313a47d (patch) | |
tree | 91ab559ff37679a835e923d1292a59da73ad2e85 /usr.sbin/apm/apm.8 | |
parent | 986c9f5c3a8f21824489bd78d88facebe50e9b3c (diff) | |
download | FreeBSD-src-2be838b1dc40d342a95339a2a106ba2ed313a47d.zip FreeBSD-src-2be838b1dc40d342a95339a2a106ba2ed313a47d.tar.gz |
Add the '-s' flag to apm which returns the status of the APM support
(enable/disabled) now that the APM_GETINFO ioctl returns the necessary
information. Also, print out the status along with the other
information as the default behavior.
Diffstat (limited to 'usr.sbin/apm/apm.8')
-rw-r--r-- | usr.sbin/apm/apm.8 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/apm/apm.8 b/usr.sbin/apm/apm.8 index 6e975ac..0cde379 100644 --- a/usr.sbin/apm/apm.8 +++ b/usr.sbin/apm/apm.8 @@ -20,6 +20,7 @@ .Op Fl b .Op Fl a .Op Fl l +.Op Fl s .Pp .Nm zzz .Sh DESCRIPTION @@ -58,13 +59,21 @@ status respectively. Display the current AC-line status as an integer value. The values 0 and 1 correspond to the .Dq off-line -state and +state or .Dq on-line state, respectively. .Pp .It Fl l Display the remaining battery percentage. If your laptop does not support this function, 255 is displayed. +.Pp +.It Fl s +Display the status of the APM support as an integer value. The values +0 and 1 correspond to the +.Dq enabled +state or +.Dq disabled +state respecitively .Sh BUGS Some APM implementations do not support parameters needed by .Nm apm. |