Skip to content

Commit

Permalink
fix deprecate message
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Dec 9, 2015
1 parent 8408b05 commit ba689c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ func resolveConfig(argv []string) (*config.Config, *otherOptions) {

if *printVersion {
otherOptions.printVersion = true
logger.Warningf("-print option is deprecated. use subcommand instead")
logger.Warningf("-version option is deprecated. use subcommand (`% mackerel-agent version`) instead")
return conf, otherOptions
}

if *runOnce {
otherOptions.runOnce = true
logger.Warningf("-once option is deprecated. use subcommand instead")
logger.Warningf("-once option is deprecated. use subcommand (`% mackerel-agent once`) instead")
return conf, otherOptions
}

Expand Down

0 comments on commit ba689c2

Please sign in to comment.