Skip to content

Commit

Permalink
docs: clarify in CLI that run can also take commands (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
twrightsman authored May 13, 2024
1 parent a481044 commit cea28f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cli/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ _arguments "${_arguments_options[@]}" \
'(-v --verbose)*--quiet[Less output per occurrence]' \
'-h[Print help]' \
'--help[Print help]' \
'*::task -- The task you want to run in the projects environment:' \
'*::task -- The pixi task or a deno task shell command you want to run in the project's environment, which can be an executable in the environment's PATH.:' \
&& ret=0
;;
(add)
Expand Down
2 changes: 1 addition & 1 deletion src/cli/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use tracing::Level;
#[derive(Parser, Debug, Default)]
#[clap(trailing_var_arg = true, arg_required_else_help = true)]
pub struct Args {
/// The task you want to run in the projects environment.
/// The pixi task or a deno task shell command you want to run in the project's environment, which can be an executable in the environment's PATH.
#[arg(required = true)]
pub task: Vec<String>,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _arguments "${_arguments_options[@]}" \
'(-v --verbose)*--quiet[Less output per occurrence]' \
'-h[Print help]' \
'--help[Print help]' \
'::task -- The task you want to run in the projects environment:' \
'::task -- The pixi task or a deno task shell command you want to run in the project's environment, which can be an executable in the environment's PATH.:' \
&& ret=0
;;
(add)
Expand Down

0 comments on commit cea28f7

Please sign in to comment.