diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/git_remote_nostr/main.rs | 2 | ||||
| -rw-r--r-- | src/bin/ngit/cli.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/git_remote_nostr/main.rs b/src/bin/git_remote_nostr/main.rs index f164a65..54fb7cf 100644 --- a/src/bin/git_remote_nostr/main.rs +++ b/src/bin/git_remote_nostr/main.rs | |||
| @@ -126,7 +126,7 @@ fn process_args() -> Result<Option<(NostrUrlDecoded, Repo)>> { | |||
| 126 | " - clone a nostr repository, or add as a remote, by using the url format nostr://pub123/identifier" | 126 | " - clone a nostr repository, or add as a remote, by using the url format nostr://pub123/identifier" |
| 127 | ); | 127 | ); |
| 128 | println!( | 128 | println!( |
| 129 | " - remote branches begining with `pr/` are open PRs from contributors; `ngit list` can be used to view all PRs" | 129 | " - remote branches beginning with `pr/` are open PRs from contributors; `ngit list` can be used to view all PRs" |
| 130 | ); | 130 | ); |
| 131 | println!( | 131 | println!( |
| 132 | " - to open a PR, push a branch with the prefix `pr/` or use `ngit send` for advanced options" | 132 | " - to open a PR, push a branch with the prefix `pr/` or use `ngit send` for advanced options" |
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index 26116be..1737a9f 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs | |||
| @@ -8,7 +8,7 @@ use crate::sub_commands; | |||
| 8 | #[command( | 8 | #[command( |
| 9 | author, | 9 | author, |
| 10 | version, | 10 | version, |
| 11 | help_template = "{name} {version}\nnostr plugin for git\n - clone a nostr repository, or add as a remote, by using the url format nostr://pub123/identifier\n - remote branches begining with `pr/` are open PRs from contributors; `ngit list` can be used to view all PRs\n - to open a PR, push a branch with the prefix `pr/` or use `ngit send` for advanced options\n- publish a repository to nostr with `ngit init`\n\n{usage}\n{all-args}" | 11 | help_template = "{name} {version}\nnostr plugin for git\n - clone a nostr repository, or add as a remote, by using the url format nostr://pub123/identifier\n - remote branches beginning with `pr/` are open PRs from contributors; `ngit list` can be used to view all PRs\n - to open a PR, push a branch with the prefix `pr/` or use `ngit send` for advanced options\n- publish a repository to nostr with `ngit init`\n\n{usage}\n{all-args}" |
| 12 | )] | 12 | )] |
| 13 | #[command(propagate_version = true)] | 13 | #[command(propagate_version = true)] |
| 14 | pub struct Cli { | 14 | pub struct Cli { |