Add dot in BindPFlag comment

This commit is contained in:
bogem 2016-07-14 23:37:09 +05:00
parent c1ccc378a0
commit 249c63d906

View file

@ -660,7 +660,7 @@ func (v *Viper) BindPFlags(flags *pflag.FlagSet) (err error) {
return v.BindFlagValues(pflagValueSet{flags}) return v.BindFlagValues(pflagValueSet{flags})
} }
// Bind a specific key to a pflag (as used by cobra) // Bind a specific key to a pflag (as used by cobra).
// Example (where serverCmd is a Cobra instance): // Example (where serverCmd is a Cobra instance):
// //
// serverCmd.Flags().Int("port", 1138, "Port to run Application server on") // serverCmd.Flags().Int("port", 1138, "Port to run Application server on")