From dd0ef2ca64e94cf6ce908d4b229fe4e518cdeb3c Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 25 Nov 2024 12:31:21 -0300 Subject: [PATCH] relay management examples on help. --- relay.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/relay.go b/relay.go index 381bf65..ac69a33 100644 --- a/relay.go +++ b/relay.go @@ -19,9 +19,13 @@ import ( var relay = &cli.Command{ Name: "relay", - Usage: "gets the relay information document for the given relay, as JSON", - Description: `example: - nak relay nostr.wine`, + Usage: "gets the relay information document for the given relay, as JSON -- or allows usage of the relay management API.", + Description: `examples: + fetching relay information: + nak relay nostr.wine + + managing a relay + nak relay nostr.wine banevent --sec 1234 --id 037eb3751073770ff17483b1b1ff125866cd5147668271975ef0a8a8e7ee184a --reason "I don't like it"`, ArgsUsage: "", DisableSliceFlagSeparator: true, Action: func(ctx context.Context, c *cli.Command) error {