Skip to content

Note 7.0.200 has --format and --output-version #34244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-list-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ The project or solution file to operate on. If not specified, the command search

- **`--format <console|json>`**

Sets the report output format. Allowed values are `console`, `json`. Defaults to `console`.
Sets the report output format. Allowed values are `console`, `json`. Defaults to `console`. Available starting in .NET SDK 7.0.200.

- **`--output-version <VERSION>`**

Sets the report output version. Allowed value is `1`. Defaults to `1`. Requires the `--format json` option. When a new JSON version is available, the command will produce the new format by default. This option will let you specify that the command should produce an earlier format.
Sets the report output version. Allowed value is `1`. Defaults to `1`. Requires the `--format json` option. When a new JSON version is available, the command will produce the new format by default. This option will let you specify that the command should produce an earlier format. Available starting in .NET SDK 7.0.200.

## Examples

Expand Down