diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-08-04 17:12:49 +0200 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-08-04 17:12:49 +0200 |
commit | ca6d0d821d1c851bb253778b437cca2ed61509e9 (patch) | |
tree | 706f0c3be229023c2a5646bb2398a0e92e17e2b3 | |
parent | docs: document commands (diff) | |
download | forgejo-cli-ca6d0d821d1c851bb253778b437cca2ed61509e9.tar.xz forgejo-cli-ca6d0d821d1c851bb253778b437cca2ed61509e9.zip |
docs: document `--remote`
-rw-r--r-- | src/issues.rs | 1 | ||||
-rw-r--r-- | src/prs.rs | 2 | ||||
-rw-r--r-- | src/release.rs | 2 | ||||
-rw-r--r-- | src/user.rs | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/src/issues.rs b/src/issues.rs index 5889e59..a65e3d4 100644 --- a/src/issues.rs +++ b/src/issues.rs @@ -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)] diff --git a/src/release.rs b/src/release.rs index f0069ee..fa9d7d7 100644 --- a/src/release.rs +++ b/src/release.rs @@ -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)] diff --git a/src/user.rs b/src/user.rs index 8f8b4e9..d38d8b5 100644 --- a/src/user.rs +++ b/src/user.rs @@ -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)] |