Skip to content

Commit

Permalink
Merge pull request #146 from thomascellerier/typo-arg-action-bool
Browse files Browse the repository at this point in the history
Fix typo in ArgAction documentation
  • Loading branch information
DanCardin authored Sep 16, 2024
2 parents 3d029fa + 35d1928 commit 0883969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/arg.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ can be used and are interpreted to handle different kinds of CLI input.
Obliquely referenced through other `Arg` options like `count`, every `Arg` has a
corresponding "action". The action is automatically inferred, most of the time,
based on other options (i.e. `count`), the annotated type (i.e. `bool` ->
`ArgAction.set_true/ArgAction.set_false`, `list` -> `ArgAction.append`), etc.
`ArgAction.store_true/ArgAction.store_false`, `list` -> `ArgAction.append`), etc.

However the inferred action can always be directly set, in order to override the
default inferred behavior.
Expand Down

0 comments on commit 0883969

Please sign in to comment.