We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efbe034 commit e153aacCopy full SHA for e153aac
cli.go
@@ -62,7 +62,7 @@
62
//
63
// # Basic Usage
64
65
-// p := cli.NewCmd("full").
+// p := cli.New().
66
// Help("A full example program").
67
// Opt(cli.NewBoolOpt("yes").
68
// Short('y').
@@ -81,7 +81,6 @@
81
// Subcmd(cli.NewCmd("ints").
82
// Help("Print values for each supported signed integer type.").
83
// Opt(cli.NewIntOpt("int").Help("Print the given int value."))).
84
-// Build().
85
// ParseOrExit()
86
package cli
87
0 commit comments