Constrain the options so that -M cannot be used with -U (as it is a different action) and -M will report the right error message if mixed with -R or -Q (#67).

This commit is contained in:
Andrew Wood
2026-03-14 17:20:30 +00:00
parent 882428883a
commit 4606638567
3 changed files with 29 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ typedef enum {
* Sides of a monitored command to monitor with PV_ACTION_MONITOR.
*/
typedef enum {
PV_SIDE_NONE, /* don't monitor a command */
PV_SIDE_IN, /* monitor only the input side */
PV_SIDE_OUT, /* monitor only the output side */
PV_SIDE_BOTH /* monitor both sides */