Skip to content

Commit

Permalink
Merge pull request prometheus#209 from bluecmd/patch-1
Browse files Browse the repository at this point in the history
Fix NTP server command line reference
  • Loading branch information
brian-brazil committed Feb 20, 2016
2 parents 3853d9f + fff0298 commit bce2e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/ntp.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func init() {
// the offset between ntp and the current system time.
func NewNtpCollector() (Collector, error) {
if *ntpServer == "" {
return nil, fmt.Errorf("no NTP server specifies, see --ntpServer")
return nil, fmt.Errorf("no NTP server specified, see -collector.ntp.server")
}
if *ntpProtocolVersion < 2 || *ntpProtocolVersion > 4 {
return nil, fmt.Errorf("invalid NTP protocol version %d; must be 2, 3, or 4", *ntpProtocolVersion)
Expand Down

0 comments on commit bce2e0c

Please sign in to comment.