Skip to content

Commit 00bc9cd

Browse files
committed
updated help
1 parent 9300828 commit 00bc9cd

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ usage: dart run bin/nostr_console.dart [OPTIONS]
6767
public key derived from a well known private key. When given, posts/replies can't be sent.
6868
-k, --prikey <private key> The hex private key of user whose events and feed are shown. Also used to sign events
6969
sent. Default is same-as-above hard-coded well known private key.
70-
-r, --relay <relay wss url> The comma separated relay urls that are used as main relay. Default is wss://nostr-relay.untethr.me.
70+
-r, --relay <relay urls> The comma separated relay urls that are used as main relays. If given, these are used
71+
rather than the default relays.
7172
-d, --days <N as num> The latest number of days for which events are shown. Default is 1.
7273
-q, --request <REQ string> This request is sent verbatim to the default relay. It can be used to receive all events
7374
from a relay. If not provided, then events for default or given user are shown.

lib/settings.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ usage: $exename [OPTIONS]
274274
well known private key. When given, posts/replies can't be sent.
275275
-k, --prikey <private key> The hex private key of user whose events and feed are shown. Also used to sign events
276276
sent. Default is a hard-coded well known private key.
277-
-r, --relay <relay wss url> The comma separated relay urls that are used as main relay. Default is wss://relay.damus.io.
277+
-r, --relay <relay urls> The comma separated relay urls that are used as main relays. If given, these are used
278+
rather than the default relays.
278279
-d, --days <N as num> The latest number of days for which events are shown. Default is $gDefaultNumLastDays.
279280
-q, --request <REQ string> This request is sent verbatim to the default relay. It can be used to recieve all events
280281
from a relay. If not provided, then events for default or given user are shown.

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ homepage: https://github.com/vishalxl/nostr_console
66

77
# improved relay, fetching logic and added more default pubkeys to fetch
88
# incresed user id lenth to 5, and event id len to 6 in SN
9-
9+
1010
environment:
1111
sdk: '>=2.17.3 <3.0.0'
1212

0 commit comments

Comments
 (0)