diff --git a/bunker.go b/bunker.go index 179ba9e..bc2b179 100644 --- a/bunker.go +++ b/bunker.go @@ -19,7 +19,7 @@ import ( var bunker = &cli.Command{ Name: "bunker", - Usage: "starts a NIP-46 signer daemon with the given --sec key", + Usage: "starts a nip46 signer daemon with the given --sec key", ArgsUsage: "[relay...]", Description: ``, DisableSliceFlagSeparator: true, diff --git a/count.go b/count.go index 704a6a7..1ca9596 100644 --- a/count.go +++ b/count.go @@ -15,7 +15,7 @@ import ( var count = &cli.Command{ Name: "count", Usage: "generates encoded COUNT messages and optionally use them to talk to relays", - Description: `outputs a NIP-45 request (the flags are mostly the same as 'nak req').`, + Description: `outputs a nip45 request (the flags are mostly the same as 'nak req').`, DisableSliceFlagSeparator: true, Flags: []cli.Flag{ &cli.StringSliceFlag{ diff --git a/encode.go b/encode.go index f30feed..e1e44a0 100644 --- a/encode.go +++ b/encode.go @@ -153,7 +153,7 @@ var encode = &cli.Command{ }, { Name: "naddr", - Usage: "generate codes for NIP-33 parameterized replaceable events", + Usage: "generate codes for addressable events", Flags: []cli.Flag{ &cli.StringFlag{ Name: "identifier", @@ -189,7 +189,7 @@ var encode = &cli.Command{ kind := c.Int("kind") if kind < 30000 || kind >= 40000 { - return fmt.Errorf("kind must be between 30000 and 39999, as per NIP-16, got %d", kind) + return fmt.Errorf("kind must be between 30000 and 39999, got %d", kind) } if d == "" { diff --git a/event.go b/event.go index b87a34c..2c5f590 100644 --- a/event.go +++ b/event.go @@ -65,7 +65,7 @@ example: // ~~~ &cli.UintFlag{ Name: "pow", - Usage: "NIP-13 difficulty to target when doing hash work on the event id", + Usage: "nip13 difficulty to target when doing hash work on the event id", Category: CATEGORY_EXTRAS, }, &cli.BoolFlag{ @@ -75,7 +75,7 @@ example: }, &cli.BoolFlag{ Name: "auth", - Usage: "always perform NIP-42 \"AUTH\" when facing an \"auth-required: \" rejection and try again", + Usage: "always perform nip42 \"AUTH\" when facing an \"auth-required: \" rejection and try again", Category: CATEGORY_EXTRAS, }, &cli.BoolFlag{ diff --git a/helpers_key.go b/helpers_key.go index b100e75..35511ab 100644 --- a/helpers_key.go +++ b/helpers_key.go @@ -32,7 +32,7 @@ var defaultKeyFlags = []cli.Flag{ }, &cli.StringFlag{ Name: "connect-as", - Usage: "private key to use when communicating with NIP-46 bunkers", + Usage: "private key to use when communicating with nip46 bunkers", DefaultText: "a random key", Category: CATEGORY_SIGNER, Sources: cli.EnvVars("NOSTR_CLIENT_KEY"), diff --git a/key.go b/key.go index 4a160d0..90ac4c9 100644 --- a/key.go +++ b/key.go @@ -71,7 +71,7 @@ var public = &cli.Command{ var encryptKey = &cli.Command{ Name: "encrypt", Usage: "encrypts a secret key and prints an ncryptsec code", - Description: `uses the NIP-49 standard.`, + Description: `uses the nip49 standard.`, ArgsUsage: " ", DisableSliceFlagSeparator: true, Flags: []cli.Flag{ @@ -110,7 +110,7 @@ var encryptKey = &cli.Command{ var decryptKey = &cli.Command{ Name: "decrypt", Usage: "takes an ncrypsec and a password and decrypts it into an nsec", - Description: `uses the NIP-49 standard.`, + Description: `uses the nip49 standard.`, ArgsUsage: " ", DisableSliceFlagSeparator: true, Action: func(ctx context.Context, c *cli.Command) error { diff --git a/req.go b/req.go index e0ea0f9..09cae23 100644 --- a/req.go +++ b/req.go @@ -19,7 +19,7 @@ const ( var req = &cli.Command{ Name: "req", Usage: "generates encoded REQ messages and optionally use them to talk to relays", - Description: `outputs a NIP-01 Nostr filter. when a relay is not given, will print the filter, otherwise will connect to the given relay and send the filter. + Description: `outputs a nip01 Nostr filter. when a relay is not given, will print the filter, otherwise will connect to the given relay and send the filter. example: nak req -k 1 -l 15 wss://nostr.wine wss://nostr-pub.wellorder.net @@ -57,12 +57,12 @@ example: }, &cli.BoolFlag{ Name: "auth", - Usage: "always perform NIP-42 \"AUTH\" when facing an \"auth-required: \" rejection and try again", + Usage: "always perform nip42 \"AUTH\" when facing an \"auth-required: \" rejection and try again", }, &cli.BoolFlag{ Name: "force-pre-auth", Aliases: []string{"fpa"}, - Usage: "after connecting, for a NIP-42 \"AUTH\" message to be received, act on it and only then send the \"REQ\"", + Usage: "after connecting, for a nip42 \"AUTH\" message to be received, act on it and only then send the \"REQ\"", Category: CATEGORY_SIGNER, }, )..., @@ -210,7 +210,7 @@ var reqFilterFlags = []cli.Flag{ }, &cli.StringFlag{ Name: "search", - Usage: "a NIP-50 search query, use it only with relays that explicitly support it", + Usage: "a nip50 search query, use it only with relays that explicitly support it", Category: CATEGORY_FILTER_ATTRIBUTES, }, } diff --git a/wallet.go b/wallet.go index 6f11fa4..6f158e3 100644 --- a/wallet.go +++ b/wallet.go @@ -55,7 +55,7 @@ func prepareWallet(ctx context.Context, c *cli.Command) (*nip60.WalletStash, err var wallet = &cli.Command{ Name: "wallet", - Usage: "manage NIP-60 Cashu wallets", + Usage: "manage nip60 Cashu wallets", DisableSliceFlagSeparator: true, Flags: defaultKeyFlags, ArgsUsage: "",