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
This commit is contained in:
Maxim Sobolev 2002-07-26 13:43:47 +00:00
parent e25dadb05d
commit c7daa47b0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100714

View File

@ -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;