upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/cli.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-03-05 19:04:42 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-03-05 19:04:42 +0000
commitf78c2f58e1da73591c782086f76a8584c0406ca5 (patch)
tree285cb17545501a8e361f21ecc1e40a4b5fbe8ceb /src/bin/ngit/cli.rs
parentbdcfc7ae0b0558843b160acc4d2c8db9996cdc60 (diff)
fix(issue): add --comments flag to issue list command
--comments was supported by 'issue view' but not 'issue list', making 'ngit issue list <id> --comments' fail while the equivalent 'view' command worked fine.
Diffstat (limited to 'src/bin/ngit/cli.rs')
-rw-r--r--src/bin/ngit/cli.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs
index d558525..018525c 100644
--- a/src/bin/ngit/cli.rs
+++ b/src/bin/ngit/cli.rs
@@ -390,6 +390,10 @@ pub enum IssueCommands {
390 /// Output as JSON 390 /// Output as JSON
391 #[arg(long)] 391 #[arg(long)]
392 json: bool, 392 json: bool,
393 /// Include full comment thread when viewing a specific issue (requires
394 /// ID)
395 #[arg(long)]
396 comments: bool,
393 /// Show details for a specific issue (event-id or nevent) 397 /// Show details for a specific issue (event-id or nevent)
394 #[arg(value_name = "ID|nevent")] 398 #[arg(value_name = "ID|nevent")]
395 id: Option<String>, 399 id: Option<String>,