Merge pull request #149 from guggero/quote-fix

cmd/loop: remove number of flags restriction
pull/150/head
Alex Bosworth 4 years ago committed by GitHub
commit e8dce9e67f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,9 +36,8 @@ var quoteCommand = cli.Command{
}
func quote(ctx *cli.Context) error {
// Show command help if the incorrect number arguments and/or flags were
// provided.
if ctx.NArg() != 1 || ctx.NumFlags() > 1 {
// Show command help if the incorrect number arguments was provided.
if ctx.NArg() != 1 {
return cli.ShowCommandHelp(ctx, "quote")
}

Loading…
Cancel
Save