Skip to content

Commit

Permalink
Add note for version flag overriding to README
Browse files Browse the repository at this point in the history
  • Loading branch information
hhromic committed Jun 29, 2024
1 parent c992aa8 commit c087d71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ $ ./example --version
someprogram 4.3.0
```
> **Note**
> If a `--version` flag is defined in `args` or any subcommand, it overrides the built-in versioning.
### Overriding option names
```go
Expand Down

0 comments on commit c087d71

Please sign in to comment.