Skip to content

Commit 9de77ab

Browse files
committed
fix(permissions): -p arg is required
1 parent be2faf1 commit 9de77ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ func (c *removeWhitespaceCmd) Run(globals *Globals) error {
478478
}
479479

480480
type permissionsCmd struct {
481-
Permission string `short:"p" help:"Permission in octal format (both 3 and 4 digits)"`
481+
Permission string `required:"" short:"p" help:"Permission in octal format (both 3 and 4 digits)"`
482482
}
483483

484484
func (c *permissionsCmd) Run(globals *Globals) error {

0 commit comments

Comments
 (0)