docs: document --remote

This commit is contained in:
Cyborus 2024-08-04 11:12:49 -04:00
parent 72800f9bba
commit ca6d0d821d
No known key found for this signature in database
4 changed files with 5 additions and 1 deletions

View file

@ -11,6 +11,7 @@ use crate::repo::{RepoArg, RepoInfo, RepoName};
#[derive(Args, Clone, Debug)] #[derive(Args, Clone, Debug)]
pub struct IssueCommand { pub struct IssueCommand {
/// The local git remote that points to the repo to operate on.
#[clap(long, short = 'R')] #[clap(long, short = 'R')]
remote: Option<String>, remote: Option<String>,
#[clap(subcommand)] #[clap(subcommand)]

View file

@ -18,7 +18,7 @@ use crate::{
#[derive(Args, Clone, Debug)] #[derive(Args, Clone, Debug)]
pub struct PrCommand { pub struct PrCommand {
/// The git remote to operate on. /// The local git remote that points to the repo to operate on.
#[clap(long, short = 'R')] #[clap(long, short = 'R')]
remote: Option<String>, remote: Option<String>,
#[clap(subcommand)] #[clap(subcommand)]

View file

@ -14,8 +14,10 @@ use crate::{
#[derive(Args, Clone, Debug)] #[derive(Args, Clone, Debug)]
pub struct ReleaseCommand { pub struct ReleaseCommand {
/// The local git remote that points to the repo to operate on.
#[clap(long, short = 'R')] #[clap(long, short = 'R')]
remote: Option<String>, remote: Option<String>,
/// The name of the repository to operate on.
#[clap(long, short, id = "[HOST/]OWNER/REPO")] #[clap(long, short, id = "[HOST/]OWNER/REPO")]
repo: Option<RepoArg>, repo: Option<RepoArg>,
#[clap(subcommand)] #[clap(subcommand)]

View file

@ -6,6 +6,7 @@ use crate::{repo::RepoInfo, SpecialRender};
#[derive(Args, Clone, Debug)] #[derive(Args, Clone, Debug)]
pub struct UserCommand { pub struct UserCommand {
/// The local git remote that points to the repo to operate on.
#[clap(long, short = 'R')] #[clap(long, short = 'R')]
remote: Option<String>, remote: Option<String>,
#[clap(subcommand)] #[clap(subcommand)]