Skip to content

Commit e8dce9e

Browse files
authored
Merge pull request #149 from guggero/quote-fix
cmd/loop: remove number of flags restriction
2 parents ba7a018 + 60e1fd2 commit e8dce9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/loop/quote.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ var quoteCommand = cli.Command{
3636
}
3737

3838
func quote(ctx *cli.Context) error {
39-
// Show command help if the incorrect number arguments and/or flags were
40-
// provided.
41-
if ctx.NArg() != 1 || ctx.NumFlags() > 1 {
39+
// Show command help if the incorrect number arguments was provided.
40+
if ctx.NArg() != 1 {
4241
return cli.ShowCommandHelp(ctx, "quote")
4342
}
4443

0 commit comments

Comments
 (0)