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:
parent
e25dadb05d
commit
c7daa47b0e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user