From 589f217cb7449d553a79b6a61f8c773a8cd7e0ca Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Mon, 16 Nov 2026 11:00:45 +0000 Subject: [PATCH 1/2] changelog: Add entry for the boolean flag help change from the pflag 1.1.0 bump #7635 bumped pflag to 1.1.0 without a changelog entry. Its user-visible effect is that help output now shows `[=true|false]` after boolean flags. The entry also notes that the last occurrence of a repeated boolean flag wins, which the new help syntax makes discoverable. Co-authored-by: Isaac --- .nextchanges/cli/bool-flag-help-explicit-value.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nextchanges/cli/bool-flag-help-explicit-value.md diff --git a/.nextchanges/cli/bool-flag-help-explicit-value.md b/.nextchanges/cli/bool-flag-help-explicit-value.md new file mode 100644 index 00000000000..cdcab83d1db --- /dev/null +++ b/.nextchanges/cli/bool-flag-help-explicit-value.md @@ -0,0 +1 @@ +* Boolean flags now show `[=true|false]` in help output to indicate that they accept an optional explicit value, such as `--debug=false`. When a boolean flag is passed more than once, the last occurrence wins. ([#7635](https://github.com/databricks/cli/pull/7635), [#7683](https://github.com/databricks/cli/pull/7683)) From d615cc8af9712072674628793f7be7eabe6ba54c Mon Sep 17 00:00:00 2001 From: Jan N Rose Date: Mon, 16 Nov 2026 12:11:17 +0100 Subject: [PATCH 2/2] manual rewrite --- .nextchanges/cli/bool-flag-help-explicit-value.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nextchanges/cli/bool-flag-help-explicit-value.md b/.nextchanges/cli/bool-flag-help-explicit-value.md index cdcab83d1db..aaa375cca3f 100644 --- a/.nextchanges/cli/bool-flag-help-explicit-value.md +++ b/.nextchanges/cli/bool-flag-help-explicit-value.md @@ -1 +1 @@ -* Boolean flags now show `[=true|false]` in help output to indicate that they accept an optional explicit value, such as `--debug=false`. When a boolean flag is passed more than once, the last occurrence wins. ([#7635](https://github.com/databricks/cli/pull/7635), [#7683](https://github.com/databricks/cli/pull/7683)) +* Boolean flags now accept an optional explicit value, such as `--debug=false`. The default remains `true`. When a boolean flag is passed more than once, the last occurrence wins. ([#7635](https://github.com/databricks/cli/pull/7635), [#7683](https://github.com/databricks/cli/pull/7683))