hive-forge, hivectl, swarmctl: fix clap help passive voice, regen docs
Rewrites every write-good.Passive hit in the hive-forge clap help text
into terse, imperative, active voice (meaning unchanged) and drops
clap-markdown's own fixed footer ('This document was generated
automatically by...') via MarkdownOptions::show_footer(false), since
that string isn't ours to reword and vale flagged it too.
docs/tools/{hivectl,swarmctl,forge}-cli.md are generated from each
crate's clap tree (see hive-forge/src/main.rs's MarkdownDocs verb) —
regenerated here from the fixed source, not hand-edited.
Refs #4549
This commit is contained in:
parent
2aa9f19ccb
commit
f0e3ed04d3
18 changed files with 87 additions and 89 deletions
|
|
@ -18,8 +18,8 @@ use crate::verbs::print_json;
|
|||
|
||||
#[derive(ClapArgs)]
|
||||
pub struct Args {
|
||||
/// Repository name (required). Created under the authenticated user
|
||||
/// unless `--org` is given.
|
||||
/// Repository name (required). Creates it under the authenticated
|
||||
/// user unless you pass `--org`.
|
||||
name: String,
|
||||
/// Repository description.
|
||||
#[arg(long)]
|
||||
|
|
@ -33,8 +33,9 @@ pub struct Args {
|
|||
/// Create under this organisation instead of your own namespace.
|
||||
#[arg(long)]
|
||||
org: Option<String>,
|
||||
/// Seed an initial commit (README) so the repo is non-empty and can
|
||||
/// be cloned immediately. Omit to create a bare repo you push into.
|
||||
/// Seed an initial commit (README) so you can clone the repo
|
||||
/// immediately instead of getting an empty one. Omit to create a
|
||||
/// bare repo you push into.
|
||||
#[arg(long = "auto-init")]
|
||||
auto_init: bool,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue