docs: update commands titles and descriptions

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-09-12 09:43:37 +00:00
parent 4360aa192c
commit 4bcf104c80
17 changed files with 41 additions and 40 deletions

View File

@@ -46,17 +46,17 @@ pub const ISSUE_ALT_PREFIX: &str = "git issue: ";
#[derive(Subcommand, Debug)]
pub enum IssueSubcommands {
/// Create a new repository issue
/// Create an issue
New(NewArgs),
/// View an issue by its ID
/// View an issue
View(ViewArgs),
/// Reopens a closed issue.
/// Reopen an issue.
Reopen(ReopenArgs),
/// Closes an open issue.
/// Closes an issue.
Close(CloseArgs),
/// Resolves an issue.
/// Resolve an issue.
Resolve(ResolveArgs),
/// List the repositories issues.
/// List issues.
List(ListArgs),
}

View File

@@ -79,21 +79,21 @@ pub const LEGACY_NGIT_REVISION_ROOT_HASHTAG_CONTENT: &str = "revision-root";
#[derive(Subcommand, Debug)]
pub enum PatchSubcommands {
/// Send one or more patches to a repository.
/// Send patches to a repository
Send(SendArgs),
/// Fetches a patch by its id.
/// Fetch a patch
Fetch(FetchArgs),
/// Closes an open or drafted patch.
/// Close a patch
Close(CloseArgs),
/// Converts an open patch to draft state.
/// Convert to draft
Draft(DraftArgs),
/// Reopens a closed or drafted patch.
/// Reopen a patch
Reopen(ReopenArgs),
/// Set an open patch status to applied.
/// Mark as applied
Apply(ApplyArgs),
/// Set an open patch status to merged.
/// Mark as merged
Merge(MergeArgs),
/// List the repositories patches.
/// List patches
List(ListArgs),
}