refactor: be explicit with Required
This commit is contained in:
parent
bba820173d
commit
9a58f7fd7c
|
@ -187,10 +187,11 @@ Example:
|
|||
`,
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "css",
|
||||
Aliases: []string{"c"},
|
||||
Usage: "css file for custom styles",
|
||||
Value: "",
|
||||
Name: "css",
|
||||
Aliases: []string{"c"},
|
||||
Usage: "css file for custom styles",
|
||||
Value: "",
|
||||
Required: false,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "debug",
|
||||
|
@ -205,10 +206,11 @@ Example:
|
|||
Value: false,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "ignore",
|
||||
Aliases: []string{"i"},
|
||||
Usage: "ignore specific paths, (e.g. \"*.gif, *.txt, mydir\" )",
|
||||
Value: "",
|
||||
Name: "ignore",
|
||||
Aliases: []string{"i"},
|
||||
Usage: `ignore specific paths, (e.g. "*.gif, *.txt, mydir" )`,
|
||||
Value: "",
|
||||
Required: false,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "path",
|
||||
|
|
Loading…
Reference in New Issue