diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-26 13:43:47 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-26 13:43:47 +0000 |
commit | c259f4f6b15defd515ec0050360eeaac48182a4d (patch) | |
tree | 0f2d9dbe9676966ac656a00abdaa8510d1ac734c /usr.sbin/apm | |
parent | 38a65faa392b816cd15840820832a211b2dca2de (diff) | |
download | FreeBSD-src-c259f4f6b15defd515ec0050360eeaac48182a4d.zip FreeBSD-src-c259f4f6b15defd515ec0050360eeaac48182a4d.tar.gz |
Don't dump all information about apm when only asked to enable/disable apm
functions (-e and -h switches). This should make apm(8) self-consistent, as
for example -d enable|disable doesn't dump such info.
MFC after: 5 days
Diffstat (limited to 'usr.sbin/apm')
-rw-r--r-- | usr.sbin/apm/apm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c index 6cfd86f..2517ee5 100644 --- a/usr.sbin/apm/apm.c +++ b/usr.sbin/apm/apm.c @@ -444,9 +444,11 @@ main(int argc, char *argv[]) break; case 'e': enable = is_true(optarg); + all_info = 0; break; case 'h': haltcpu = is_true(optarg); + all_info = 0; break; case 't': batt_time = 1; |