diff --git a/devenv/src/main.rs b/devenv/src/main.rs index 5c8697790..a5036572b 100644 --- a/devenv/src/main.rs +++ b/devenv/src/main.rs @@ -40,7 +40,7 @@ struct Cli { max_jobs: u8, #[arg( - short = 'j', + short = 'u', long, help = "Maximum number CPU cores being used by a single build..", default_value = "2" @@ -188,15 +188,15 @@ enum Commands { #[derive(Subcommand, Clone)] #[clap(about = "Start or stop processes. https://devenv.sh/processes/")] enum ProcessesCommand { - #[command(alias = "start")] + #[command(alias = "start", about = "Start processes in the foreground.")] Up { process: Option, - #[arg(short, long)] + #[arg(short, long, help = "Start processes in the background.")] detach: bool, }, - #[command(alias = "stop")] + #[command(alias = "stop", about = "Stop processes running in the background.")] Down {}, // TODO: Status/Attach } @@ -204,20 +204,20 @@ enum ProcessesCommand { #[derive(Subcommand, Clone)] #[clap(about = "Build, copy, or run a container. https://devenv.sh/containers/")] enum ContainerCommand { - #[clap(about = "Build a container.")] + #[command(about = "Build a container.")] Build { name: String }, - #[clap(about = "Copy a container to registry.")] + #[command(about = "Copy a container to registry.")] Copy { name: String }, - #[clap(about = "Run a container.")] + #[command(about = "Run a container.")] Run { name: String }, } #[derive(Subcommand, Clone)] #[clap(about = "Add an input to devenv.yaml. https://devenv.sh/inputs/")] enum InputsCommand { - #[clap(about = "Add an input to devenv.yaml.")] + #[command(about = "Add an input to devenv.yaml.")] Add { #[arg(help = "The name of the input.")] name: String,