Tiny left over from 2003 when it was removed. Twist the logic by checking
for `show' and `test' to make it even simpler.
OK sashan henning
-/* $OpenBSD: pfctl.c,v 1.355 2018/07/10 09:30:49 henning Exp $ */
+/* $OpenBSD: pfctl.c,v 1.356 2018/07/20 11:16:55 kn Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
argc -= optind;
argv += optind;
ch = *tblcmdopt;
- mode = strchr("acdefkrz", ch) ? O_RDWR : O_RDONLY;
+ mode = strchr("st", ch) ? O_RDONLY : O_RDWR;
} else if (argc != optind) {
warnx("unknown command line argument: %s ...", argv[optind]);
usage();