Skip to content

Commit

Permalink
Capitalize GPO for spelling check and fix gpo false positive check
Browse files Browse the repository at this point in the history
Generated documentation should have capitalized GPO for consistency
across the doc.
However, as gpo is also used as an argument of the config, put it in the
allowed list.
  • Loading branch information
didrocks committed Sep 13, 2024
1 parent 5002422 commit 73212e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/adsysd/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func New() *App {
err = a.viper.BindPFlag("service_timeout", a.rootCmd.PersistentFlags().Lookup("timeout"))
decorate.LogOnError(&err)

a.rootCmd.PersistentFlags().IntP("gpo-list-timeout", "", consts.DefaultGpoListTimeout, gotext.Get("time in seconds for the gpo list. 0 for no timeout."))
a.rootCmd.PersistentFlags().IntP("gpo-list-timeout", "", consts.DefaultGpoListTimeout, gotext.Get("time in seconds for the GPO list. 0 for no timeout."))
err = a.viper.BindPFlag("gpo_list_timeout", a.rootCmd.PersistentFlags().Lookup("gpo-list-timeout"))
decorate.LogOnError(&err)

Expand Down
1 change: 1 addition & 0 deletions docs/.custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ FQDN
GDM
gdm
GPL
gpo
GPO
gpolist
GPOs
Expand Down

0 comments on commit 73212e1

Please sign in to comment.