fix and improve flag reordering for subcommands.

This commit is contained in:
fiatjaf
2024-07-12 18:51:07 -03:00
parent 27f925c05e
commit 54c4be10bd
3 changed files with 8 additions and 7 deletions

View File

@@ -8,10 +8,11 @@ import (
)
var app = &cli.Command{
Name: "nak",
Suggest: true,
UseShortOptionHandling: true,
Usage: "the nostr army knife command-line tool",
Name: "nak",
Suggest: true,
UseShortOptionHandling: true,
AllowFlagsAfterArguments: true,
Usage: "the nostr army knife command-line tool",
Commands: []*cli.Command{
req,
count,