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 Jul 15, 2023
1 parent 7ee58c1 commit f7b0444
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 above functionality.
### Overriding option names
```go
Expand Down

0 comments on commit f7b0444

Please sign in to comment.