doc: flag: document behaviour of redefined flags #31694
Labels
Documentation
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Defining a flag with a name that has been previously defined results in the following:
This is OK, but the documentation does not seem to mention that flag names need to be unique for each FlagSet, nor that a panic will occur when trying to create a flag with an already-defined name.
The text was updated successfully, but these errors were encountered: