Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
made first letter of default toggle flag usage lowercase according to…
Browse files Browse the repository at this point in the history
… cobra convention
JungleHornet authored Jul 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 1d43487 commit 3c6085f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl/main.go
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ func init() {
{{ end }}
// Cobra also supports local flags, which will only run
// when this action is called directly.
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
rootCmd.Flags().BoolP("toggle", "t", false, "help message for toggle")
}
{{ if .Viper -}}

0 comments on commit 3c6085f

Please sign in to comment.