mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Merge pull request #149 from guggero/quote-fix
cmd/loop: remove number of flags restriction
This commit is contained in:
commit
e8dce9e67f
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue