diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/ngit/cli.rs | 4 | ||||
| -rw-r--r-- | src/bin/ngit/main.rs | 3 |
2 files changed, 6 insertions, 1 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>, |
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index a656412..215d5dd 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -166,6 +166,7 @@ async fn main() { | |||
| 166 | status, | 166 | status, |
| 167 | labels, | 167 | labels, |
| 168 | json, | 168 | json, |
| 169 | comments, | ||
| 169 | id, | 170 | id, |
| 170 | offline, | 171 | offline, |
| 171 | } => { | 172 | } => { |
| @@ -173,7 +174,7 @@ async fn main() { | |||
| 173 | status.clone(), | 174 | status.clone(), |
| 174 | labels.clone(), | 175 | labels.clone(), |
| 175 | *json, | 176 | *json, |
| 176 | false, | 177 | *comments, |
| 177 | id.clone(), | 178 | id.clone(), |
| 178 | *offline, | 179 | *offline, |
| 179 | ) | 180 | ) |