From 5093abd1dcfa95378653fc5f8edf0f1770720e21 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Tue, 15 Aug 2023 12:44:03 +0200 Subject: [PATCH] Default `--json` & `--debug` to `NULL` (#12988) --- conda/cli/conda_argparse.py | 2 ++ news/12988-CONDA_JSON | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 news/12988-CONDA_JSON diff --git a/conda/cli/conda_argparse.py b/conda/cli/conda_argparse.py index 415572c35a..e6bf6b3d93 100644 --- a/conda/cli/conda_argparse.py +++ b/conda/cli/conda_argparse.py @@ -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( diff --git a/news/12988-CONDA_JSON b/news/12988-CONDA_JSON new file mode 100644 index 0000000000..7ca5ff4400 --- /dev/null +++ b/news/12988-CONDA_JSON @@ -0,0 +1,19 @@ +### Enhancements + +* + +### Bug fixes + +* Default `--json` and `--debug` to `NULL` so as to not overriding `CONDA_JSON` and `CONDA_DEBUG` environment variables. (#12987) + +### Deprecations + +* + +### Docs + +* + +### Other + +*