VSH_ALTERNATIVE_OPTIONS takes just the name of the options instead of
requiring also the getter functions.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
} \
} while (0)
+#define VSH_ALTERNATIVE_OPTIONS(NAME1, NAME2) \
+ VSH_ALTERNATIVE_OPTIONS_EXPR(NAME1, vshCommandOptBool(cmd, NAME1), \
+ NAME2, vshCommandOptBool(cmd, NAME2))
+
/* Macros to help dealing with required options. */
/* VSH_REQUIRE_OPTION_EXPR: