small fixes on dvm flags and stuff.

This commit is contained in:
fiatjaf
2025-03-06 08:06:27 -03:00
parent f5316a0f35
commit c60bb82be8
3 changed files with 22 additions and 17 deletions

View File

@@ -85,6 +85,8 @@ var relay = &cli.Command{
Usage: fmt.Sprintf(`the "%s" relay management RPC call`, def.method),
Description: fmt.Sprintf(
`the "%s" management RPC call, see https://nips.nostr.com/86 for more information`, def.method),
Flags: flags,
DisableSliceFlagSeparator: true,
Action: func(ctx context.Context, c *cli.Command) error {
params := make([]any, len(def.args))
for i, argName := range def.args {
@@ -174,7 +176,6 @@ var relay = &cli.Command{
return nil
},
Flags: flags,
}
commands = append(commands, cmd)