i'm sorry what
-
i'm sorry what
/usr/bin/pgbouncer_exporter --no-help
usage: pgbouncer_exporter []
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long and --help-man).--helpand--no-helpdoes the same thing, what are we doing here?? -
i'm sorry what
/usr/bin/pgbouncer_exporter --no-help
usage: pgbouncer_exporter []
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long and --help-man).--helpand--no-helpdoes the same thing, what are we doing here??There is also a
--no-versionflag which prints the version. -
There is also a
--no-versionflag which prints the version.@rune is it a general pattern that every option has a --no- alternative?
-
@rune is it a general pattern that every option has a --no- alternative?
@reynir There is one other that actually makes sense to negate
--[no-]web.systemd-socket Use systemd socket activation listeners instead of port listeners (Linux only).but it's just the kind of thing that throws me off so hard. They either couldn't figure out how to make this work on only one argument or they just don't care and in either case I am worried what else they struggled with
-
@reynir There is one other that actually makes sense to negate
--[no-]web.systemd-socket Use systemd socket activation listeners instead of port listeners (Linux only).but it's just the kind of thing that throws me off so hard. They either couldn't figure out how to make this work on only one argument or they just don't care and in either case I am worried what else they struggled with
@rune Looks like they use this library for argument parsing (which the author seems to have more or less deprecated / put into maintenance mode) https://github.com/alecthomas/kingpin#boolean-values