diff --git a/src/cli/add.rs b/src/cli/add.rs index cc089e173..451443d3e 100644 --- a/src/cli/add.rs +++ b/src/cli/add.rs @@ -28,7 +28,7 @@ use crate::{ /// Adds dependencies to the project /// /// The dependencies should be defined as MatchSpec for conda package, or a PyPI -/// requirement for the --pypi dependencies. If no specific version is provided, +/// requirement for the `--pypi` dependencies. If no specific version is provided, /// the latest version compatible with your project will be chosen automatically /// or a * will be used. /// diff --git a/src/cli/cli_config.rs b/src/cli/cli_config.rs index cef75cdaf..e8084e245 100644 --- a/src/cli/cli_config.rs +++ b/src/cli/cli_config.rs @@ -18,7 +18,7 @@ use std::path::PathBuf; /// Project configuration #[derive(Parser, Debug, Default)] pub struct ProjectConfig { - /// The path to 'pixi.toml' or 'pyproject.toml' + /// The path to `pixi.toml` or `pyproject.toml` #[arg(long)] pub manifest_path: Option, } diff --git a/src/cli/completion.rs b/src/cli/completion.rs index 8ed7dc597..806ed7e5d 100644 --- a/src/cli/completion.rs +++ b/src/cli/completion.rs @@ -257,7 +257,7 @@ _arguments "${_arguments_options[@]}" \ # Runs task in project export extern "pixi run" [ ...task: string # The pixi task or a task shell command you want to run in the project's environment, which can be an executable in the environment's PATH - --manifest-path: string # The path to 'pixi.toml' or 'pyproject.toml' + --manifest-path: string # The path to `pixi.toml` or `pyproject.toml` --frozen # Install the environment as defined in the lockfile, doesn't update lockfile if it isn't up-to-date with the manifest file --locked # Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn't up-to-date with the manifest file --environment(-e): string # The environment to run the task in diff --git a/src/cli/project/channel/mod.rs b/src/cli/project/channel/mod.rs index 418544a0f..86dcd8ecd 100644 --- a/src/cli/project/channel/mod.rs +++ b/src/cli/project/channel/mod.rs @@ -12,7 +12,7 @@ use std::path::PathBuf; /// Commands to manage project channels. #[derive(Parser, Debug)] pub struct Args { - /// The path to 'pixi.toml' or 'pyproject.toml' + /// The path to `pixi.toml` or `pyproject.toml` #[clap(long, global = true)] pub manifest_path: Option, diff --git a/src/cli/project/description/mod.rs b/src/cli/project/description/mod.rs index 68556b773..11e5dc966 100644 --- a/src/cli/project/description/mod.rs +++ b/src/cli/project/description/mod.rs @@ -8,7 +8,7 @@ use std::path::PathBuf; /// Commands to manage project description. #[derive(Parser, Debug)] pub struct Args { - /// The path to 'pixi.toml' or 'pyproject.toml' + /// The path to `pixi.toml` or `pyproject.toml` #[clap(long, global = true)] pub manifest_path: Option, diff --git a/src/cli/project/environment/mod.rs b/src/cli/project/environment/mod.rs index b82996055..3d51dd280 100644 --- a/src/cli/project/environment/mod.rs +++ b/src/cli/project/environment/mod.rs @@ -9,7 +9,7 @@ use std::path::PathBuf; /// Commands to manage project environments. #[derive(Parser, Debug)] pub struct Args { - /// The path to 'pixi.toml' or 'pyproject.toml' + /// The path to `pixi.toml` or `pyproject.toml` #[clap(long, global = true)] pub manifest_path: Option, diff --git a/src/cli/project/export/mod.rs b/src/cli/project/export/mod.rs index 6fb4f8e99..9de830221 100644 --- a/src/cli/project/export/mod.rs +++ b/src/cli/project/export/mod.rs @@ -8,7 +8,7 @@ use clap::Parser; /// Commands to export projects to other formats #[derive(Parser, Debug)] pub struct Args { - /// The path to 'pixi.toml' or 'pyproject.toml' + /// The path to `pixi.toml` or `pyproject.toml` #[clap(long, global = true)] pub manifest_path: Option, diff --git a/src/cli/project/platform/mod.rs b/src/cli/project/platform/mod.rs index bce4db6cc..230900bc1 100644 --- a/src/cli/project/platform/mod.rs +++ b/src/cli/project/platform/mod.rs @@ -9,7 +9,7 @@ use std::path::PathBuf; /// Commands to manage project platforms. #[derive(Parser, Debug)] pub struct Args { - /// The path to 'pixi.toml' or 'pyproject.toml' + /// The path to `pixi.toml` or `pyproject.toml` #[clap(long, global = true)] pub manifest_path: Option, diff --git a/src/cli/project/version/mod.rs b/src/cli/project/version/mod.rs index 3900eaddd..c72f99694 100644 --- a/src/cli/project/version/mod.rs +++ b/src/cli/project/version/mod.rs @@ -10,7 +10,7 @@ use std::path::PathBuf; /// Commands to manage project version. #[derive(Parser, Debug)] pub struct Args { - /// The path to 'pixi.toml' or 'pyproject.toml' + /// The path to `pixi.toml` or `pyproject.toml` #[clap(long, global = true)] pub manifest_path: Option, diff --git a/src/cli/snapshots/pixi__cli__completion__tests__nushell_completion.snap b/src/cli/snapshots/pixi__cli__completion__tests__nushell_completion.snap index add15d103..8117489f6 100644 --- a/src/cli/snapshots/pixi__cli__completion__tests__nushell_completion.snap +++ b/src/cli/snapshots/pixi__cli__completion__tests__nushell_completion.snap @@ -14,7 +14,7 @@ expression: result # Runs task in project export extern "pixi run" [ ...task: string@"nu-complete pixi run" # The pixi task or a task shell command you want to run in the project's environment, which can be an executable in the environment's PATH - --manifest-path: string # The path to 'pixi.toml' or 'pyproject.toml' + --manifest-path: string # The path to `pixi.toml` or `pyproject.toml` --frozen # Install the environment as defined in the lockfile, doesn't update lockfile if it isn't up-to-date with the manifest file --locked # Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn't up-to-date with the manifest file --environment(-e): string@"nu-complete pixi run environment" # The environment to run the task in