On Wed, Mar 25, 2020 at 12:25:12PM +0100, Christoph Zwerschke wrote: > Am 25.03.2020 um 10:34 schrieb Justin Pryzby: > > I think I would leave the "positive" variable names, and *add* negative > > forms > > of the commandline options. --no-foo and/or --foo=no > > 1) Either two options --escaping-funcs and --no-escaping-funcs, both without > arguments or > 2) one option --escaping funcs with a mandatory boolean argument > > In both cases, when we set self.escaping_funcs = None in initialize_options, > we can implement the ternary on/off/default. > > Not sure whether 1) or 2) is better, what do you think?
I think (1) is more common, I think that's what autoconf and gnu tools use. -- Justin _______________________________________________ PyGreSQL mailing list PyGreSQL@Vex.Net https://mail.vex.net/mailman/listinfo/pygresql