Re: [RFA/RFC] new setting against auto-answer? (because "input not from terminal")

Tom Tromey
2008-10-25T13:57:32Z

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> +static const char *interactive_mode_enum[] =
Joel> +{
Joel> + interactive_mode_auto,
Joel> + interactive_mode_on,
Joel> + interactive_mode_off,
Joel> + NULL
Joel> +};

Joel> + add_setshow_enum_cmd ("interactive-mode", class_support,

I think you could use var_auto_boolean instead of var_enum here.

Tom