cmd/loop: remove number of flags restriction

With the restriction in place, it is not possible to use the
--conf_target and --fast flag at the same time. To avoid similar
problems in the future, the check for the number of amounts is
removed completely.
pull/149/head
Oliver Gugger 4 years ago
parent 7b4eb6eac4
commit 60e1fd2481
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -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