Skip to content

Commit f999e69

Browse files
committed
disambiguate debug and verbose flags
The debug boolean flag and the debug command were ambiguous. Changing the `debug` boolean flag to `verbose` makes which options you're referring to more obvious. closes #160
1 parent 3551884 commit f999e69

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

exercism/main.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,20 @@ func main() {
3939
app.Name = "exercism"
4040
app.Usage = "A command line tool to interact with http://exercism.io"
4141
app.Version = Version
42+
app.HideVersion = true
4243
app.Flags = []cli.Flag{
4344
cli.StringFlag{
4445
Name: "config, c",
4546
Usage: "path to config file",
4647
},
4748
cli.BoolFlag{
48-
Name: "debug, d",
49+
Name: "verbose, v",
4950
Usage: "turn on verbose logging",
5051
},
52+
cli.BoolFlag{
53+
Name: "version",
54+
Usage: "print the version",
55+
},
5156
}
5257
app.Commands = []cli.Command{
5358
{

0 commit comments

Comments
 (0)