I found case 'C' in getopt in amd which is not documented and seems to
be an alias for -A.

Ok for removing?

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;

Reply via email to