From 84d8f03cf2471d3530f4657055f272474880b6b5 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 23 Feb 2024 08:15:24 +0000 Subject: feat(push): add `--force` to issue revision wrapping `send --in-reply-to` unless branch up-to-date --- src/sub_commands/send.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/sub_commands/send.rs') diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs index 1ccb1f4..ebe23b1 100644 --- a/src/sub_commands/send.rs +++ b/src/sub_commands/send.rs @@ -27,26 +27,26 @@ pub struct SubCommandArgs { #[arg(default_value = "")] /// starting commit (commits since in current branch) or commit range, like /// in `git format-patch` - starting_commit: String, + pub(crate) starting_commit: String, #[clap(long)] /// nevent or event id of an existing proposal for which this is a new /// version - in_reply_to: Option, + pub(crate) in_reply_to: Option, /// optional cover letter title #[clap(short, long)] - title: Option, + pub(crate) title: Option, #[clap(short, long)] /// optional cover letter description - description: Option, + pub(crate) description: Option, #[clap(long)] /// branch to get changes from (defaults to head) - from_branch: Option, + pub(crate) from_branch: Option, #[clap(long)] /// destination branch (defaults to main or master) - to_branch: Option, + pub(crate) to_branch: Option, /// don't ask about a cover letter #[arg(long, action)] - no_cover_letter: bool, + pub(crate) no_cover_letter: bool, } #[allow(clippy::too_many_lines)] -- cgit v1.2.3