mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2025-03-17 22:35:54 +01:00
docs: document --remote
This commit is contained in:
parent
72800f9bba
commit
ca6d0d821d
4 changed files with 5 additions and 1 deletions
|
@ -11,6 +11,7 @@ use crate::repo::{RepoArg, RepoInfo, RepoName};
|
|||
|
||||
#[derive(Args, Clone, Debug)]
|
||||
pub struct IssueCommand {
|
||||
/// The local git remote that points to the repo to operate on.
|
||||
#[clap(long, short = 'R')]
|
||||
remote: Option<String>,
|
||||
#[clap(subcommand)]
|
||||
|
|
|
@ -18,7 +18,7 @@ use crate::{
|
|||
|
||||
#[derive(Args, Clone, Debug)]
|
||||
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')]
|
||||
remote: Option<String>,
|
||||
#[clap(subcommand)]
|
||||
|
|
|
@ -14,8 +14,10 @@ use crate::{
|
|||
|
||||
#[derive(Args, Clone, Debug)]
|
||||
pub struct ReleaseCommand {
|
||||
/// The local git remote that points to the repo to operate on.
|
||||
#[clap(long, short = 'R')]
|
||||
remote: Option<String>,
|
||||
/// The name of the repository to operate on.
|
||||
#[clap(long, short, id = "[HOST/]OWNER/REPO")]
|
||||
repo: Option<RepoArg>,
|
||||
#[clap(subcommand)]
|
||||
|
|
|
@ -6,6 +6,7 @@ use crate::{repo::RepoInfo, SpecialRender};
|
|||
|
||||
#[derive(Args, Clone, Debug)]
|
||||
pub struct UserCommand {
|
||||
/// The local git remote that points to the repo to operate on.
|
||||
#[clap(long, short = 'R')]
|
||||
remote: Option<String>,
|
||||
#[clap(subcommand)]
|
||||
|
|
Loading…
Add table
Reference in a new issue