upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/ngit/cli.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs
index 7baa1d3..037d17f 100644
--- a/src/bin/ngit/cli.rs
+++ b/src/bin/ngit/cli.rs
@@ -120,6 +120,7 @@ pub enum Commands {
120 #[arg(long)] 120 #[arg(long)]
121 json: bool, 121 json: bool,
122 /// Show details for specific proposal (event-id or nevent) 122 /// Show details for specific proposal (event-id or nevent)
123 #[arg(value_name = "ID|nevent")]
123 id: Option<String>, 124 id: Option<String>,
124 /// Use local cache only, skip network fetch 125 /// Use local cache only, skip network fetch
125 #[arg(long)] 126 #[arg(long)]
@@ -131,6 +132,7 @@ pub enum Commands {
131 )] 132 )]
132 Checkout { 133 Checkout {
133 /// Proposal event-id (hex) or nevent (bech32) 134 /// Proposal event-id (hex) or nevent (bech32)
135 #[arg(value_name = "ID|nevent")]
134 id: String, 136 id: String,
135 /// Use local cache only, skip network fetch 137 /// Use local cache only, skip network fetch
136 #[arg(long)] 138 #[arg(long)]
@@ -142,6 +144,7 @@ pub enum Commands {
142 )] 144 )]
143 Apply { 145 Apply {
144 /// Proposal event-id or nevent 146 /// Proposal event-id or nevent
147 #[arg(value_name = "ID|nevent")]
145 id: String, 148 id: String,
146 /// Output patches to stdout instead of applying 149 /// Output patches to stdout instead of applying
147 #[arg(long)] 150 #[arg(long)]