diff options
Diffstat (limited to 'src/bin/ngit/sub_commands/list.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/list.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/ngit/sub_commands/list.rs b/src/bin/ngit/sub_commands/list.rs index ab4f0f7..df147bc 100644 --- a/src/bin/ngit/sub_commands/list.rs +++ b/src/bin/ngit/sub_commands/list.rs | |||
| @@ -413,7 +413,7 @@ fn output_json(proposals: &[(&nostr::Event, Kind, Vec<String>, Option<String>)]) | |||
| 413 | serde_json::json!({ | 413 | serde_json::json!({ |
| 414 | "id": id, | 414 | "id": id, |
| 415 | "status": status, | 415 | "status": status, |
| 416 | "title": title, | 416 | "subject": title, |
| 417 | "author": author, | 417 | "author": author, |
| 418 | "branch": branch, | 418 | "branch": branch, |
| 419 | "labels": proposal_labels, | 419 | "labels": proposal_labels, |
| @@ -497,7 +497,7 @@ fn show_proposal_details( | |||
| 497 | serde_json::json!({ | 497 | serde_json::json!({ |
| 498 | "id": proposal.id.to_string(), | 498 | "id": proposal.id.to_string(), |
| 499 | "status": status_kind_to_str(*status_kind), | 499 | "status": status_kind_to_str(*status_kind), |
| 500 | "title": display_title, | 500 | "subject": display_title, |
| 501 | "author": proposal.pubkey.to_bech32().unwrap_or_default(), | 501 | "author": proposal.pubkey.to_bech32().unwrap_or_default(), |
| 502 | "branch": cover_letter.get_branch_name_with_pr_prefix_and_shorthand_id()?, | 502 | "branch": cover_letter.get_branch_name_with_pr_prefix_and_shorthand_id()?, |
| 503 | "labels": proposal_labels, | 503 | "labels": proposal_labels, |
| @@ -509,7 +509,7 @@ fn show_proposal_details( | |||
| 509 | serde_json::json!({ | 509 | serde_json::json!({ |
| 510 | "id": proposal.id.to_string(), | 510 | "id": proposal.id.to_string(), |
| 511 | "status": status_kind_to_str(*status_kind), | 511 | "status": status_kind_to_str(*status_kind), |
| 512 | "title": display_title, | 512 | "subject": display_title, |
| 513 | "author": proposal.pubkey.to_bech32().unwrap_or_default(), | 513 | "author": proposal.pubkey.to_bech32().unwrap_or_default(), |
| 514 | "branch": cover_letter.get_branch_name_with_pr_prefix_and_shorthand_id()?, | 514 | "branch": cover_letter.get_branch_name_with_pr_prefix_and_shorthand_id()?, |
| 515 | "labels": proposal_labels, | 515 | "labels": proposal_labels, |
| @@ -521,7 +521,7 @@ fn show_proposal_details( | |||
| 521 | return Ok(()); | 521 | return Ok(()); |
| 522 | } | 522 | } |
| 523 | 523 | ||
| 524 | println!("Title: {display_title}"); | 524 | println!("Subject: {display_title}"); |
| 525 | println!( | 525 | println!( |
| 526 | "Author: {}", | 526 | "Author: {}", |
| 527 | proposal.pubkey.to_bech32().unwrap_or_default() | 527 | proposal.pubkey.to_bech32().unwrap_or_default() |