diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-23 10:12:54 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-23 10:12:54 +0000 |
| commit | 991da4d8dc2bbdd9832dd9252ebebc27d612154c (patch) | |
| tree | 5d7bc1fd4975c7f50c6088bd7f2f74bcee37ec11 /src/sub_commands/push.rs | |
| parent | b931b37e26486e4e6d15f302e87141dcf2f596ba (diff) | |
refactor: remove confusing options, improve help
from_branch and to_branch have been replaced
by specifying revision ranges
Diffstat (limited to 'src/sub_commands/push.rs')
| -rw-r--r-- | src/sub_commands/push.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs index 75bff2d..06c3e50 100644 --- a/src/sub_commands/push.rs +++ b/src/sub_commands/push.rs | |||
| @@ -106,12 +106,10 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | |||
| 106 | sub_commands::send::launch( | 106 | sub_commands::send::launch( |
| 107 | cli_args, | 107 | cli_args, |
| 108 | &sub_commands::send::SubCommandArgs { | 108 | &sub_commands::send::SubCommandArgs { |
| 109 | starting_commit: String::new(), | 109 | since_or_revision_range: String::new(), |
| 110 | in_reply_to: Some(proposal_root_event.id.to_string()), | 110 | in_reply_to: Some(proposal_root_event.id.to_string()), |
| 111 | title: None, | 111 | title: None, |
| 112 | description: None, | 112 | description: None, |
| 113 | from_branch: None, | ||
| 114 | to_branch: None, | ||
| 115 | no_cover_letter: args.no_cover_letter, | 113 | no_cover_letter: args.no_cover_letter, |
| 116 | }, | 114 | }, |
| 117 | ) | 115 | ) |