upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/send.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub_commands/send.rs')
-rw-r--r--src/sub_commands/send.rs14
1 files changed, 7 insertions, 7 deletions
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 {
27 #[arg(default_value = "")] 27 #[arg(default_value = "")]
28 /// starting commit (commits since in current branch) or commit range, like 28 /// starting commit (commits since in current branch) or commit range, like
29 /// in `git format-patch` 29 /// in `git format-patch`
30 starting_commit: String, 30 pub(crate) starting_commit: String,
31 #[clap(long)] 31 #[clap(long)]
32 /// nevent or event id of an existing proposal for which this is a new 32 /// nevent or event id of an existing proposal for which this is a new
33 /// version 33 /// version
34 in_reply_to: Option<String>, 34 pub(crate) in_reply_to: Option<String>,
35 /// optional cover letter title 35 /// optional cover letter title
36 #[clap(short, long)] 36 #[clap(short, long)]
37 title: Option<String>, 37 pub(crate) title: Option<String>,
38 #[clap(short, long)] 38 #[clap(short, long)]
39 /// optional cover letter description 39 /// optional cover letter description
40 description: Option<String>, 40 pub(crate) description: Option<String>,
41 #[clap(long)] 41 #[clap(long)]
42 /// branch to get changes from (defaults to head) 42 /// branch to get changes from (defaults to head)
43 from_branch: Option<String>, 43 pub(crate) from_branch: Option<String>,
44 #[clap(long)] 44 #[clap(long)]
45 /// destination branch (defaults to main or master) 45 /// destination branch (defaults to main or master)
46 to_branch: Option<String>, 46 pub(crate) to_branch: Option<String>,
47 /// don't ask about a cover letter 47 /// don't ask about a cover letter
48 #[arg(long, action)] 48 #[arg(long, action)]
49 no_cover_letter: bool, 49 pub(crate) no_cover_letter: bool,
50} 50}
51 51
52#[allow(clippy::too_many_lines)] 52#[allow(clippy::too_many_lines)]