Skip to content

Commit

Permalink
Default --json & --debug to NULL (#12988)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Aug 15, 2023
1 parent 4a0ffa3 commit 5093abd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda/cli/conda_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ def generate_pre_parser(**kwargs) -> ArgumentParser:
pre_parser.add_argument(
"--debug",
action="store_true",
default=NULL,
help=SUPPRESS,
)
pre_parser.add_argument(
"--json",
action="store_true",
default=NULL,
help=SUPPRESS,
)
pre_parser.add_argument(
Expand Down
19 changes: 19 additions & 0 deletions news/12988-CONDA_JSON
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Default `--json` and `--debug` to `NULL` so as to not overriding `CONDA_JSON` and `CONDA_DEBUG` environment variables. (#12987)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit 5093abd

Please sign in to comment.