On Wed, Aug 07, 2019 at 12:33:58PM +0200, Solene Rapenne wrote: > I found case 'C' in getopt in amd which is not documented and seems to > be an alias for -A. > > Ok for removing?
Please don't, I think many people still use the old apmd -C (at least I do have it on a few systems). Also you should remove it from the getopt string. > Index: apmd.c > =================================================================== > RCS file: /data/cvs/src/usr.sbin/apmd/apmd.c,v > retrieving revision 1.84 > diff -u -p -r1.84 apmd.c > --- apmd.c 4 Dec 2018 18:00:57 -0000 1.84 > +++ apmd.c 7 Aug 2019 10:30:49 -0000 > @@ -417,7 +417,6 @@ main(int argc, char *argv[]) > statonly = 1; > break; > case 'A': > - case 'C': > if (doperf != PERF_NONE) > usage(); > doperf = PERF_AUTO; > -- :wq Claudio