Skip to content

Commit

Permalink
fix help
Browse files Browse the repository at this point in the history
  • Loading branch information
syou6162 committed May 4, 2017
1 parent 0a737d5 commit c51a6b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Expand Up @@ -163,8 +163,8 @@ func doDecode(c *cli.Context) error {
testFilename := c.String("test-filename")

if testFilename == "" {
_ = cli.ShowCommandHelp(c, "eval")
return cli.NewExitError("`test-filename` is a required field to evaluate a parser.", 1)
_ = cli.ShowCommandHelp(c, "decode")
return cli.NewExitError("`test-filename` is a required field to decode sentences.", 1)
}

goldSents, _ := ReadData(testFilename)
Expand Down

0 comments on commit c51a6b9

Please sign in to comment.