Skip to content

Commit

Permalink
fix(docs): Correct typos with --no-lockfile-update. (prefix-dev#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasraabe authored May 15, 2024
1 parent dcf1c1e commit 070d0e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ These dependencies will be read by pixi as if they had been added to the pixi `p
Parses dependencies as [PEP508](https://peps.python.org/pep-0508/) requirements, supporting extras and versions.
See [configuration](configuration.md) for details.
- `--no-install`: Don't install the package to the environment, only add the package to the lock-file.
- `--no-lock file-update`: Don't update the lock-file, implies the `--no-install` flag.
- `--no-lockfile-update`: Don't update the lock-file, implies the `--no-install` flag.
- `--platform <PLATFORM> (-p)`: The platform for which the dependency should be added. (Allowed to be used more than once)
- `--feature <FEATURE> (-f)`: The feature for which the dependency should be added.

Expand All @@ -89,7 +89,7 @@ pixi add --pypi "exchangelib @ git+https://github.com/ecederstrand/exchangelib"
pixi add --pypi "project @ file:///absolute/path/to/project"
pixi add --platform osx-64 --build clang
pixi add --no-install numpy
pixi add --no-lock file-update numpy
pixi add --no-lockfile-update numpy
pixi add --feature featurex numpy
```

Expand Down

0 comments on commit 070d0e4

Please sign in to comment.