From 0bbb3a20df1e517ba737de540bac226c4456aa33 Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Tue, 11 Oct 2022 12:41:50 +0200 Subject: [PATCH] Fix ex. completion `git push --force-with-lease` (#6702) The `--force-with-lease` flag was given as requiring an additional string which is not true. Fixes #6644 for this to take effect you need to update your `config.nu` --- crates/nu-utils/src/sample_config/default_config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-utils/src/sample_config/default_config.nu b/crates/nu-utils/src/sample_config/default_config.nu index 7788c390c7..f07f044c9f 100644 --- a/crates/nu-utils/src/sample_config/default_config.nu +++ b/crates/nu-utils/src/sample_config/default_config.nu @@ -101,7 +101,7 @@ module completions { --dry-run(-n) # dry run --exec: string # receive pack program --follow-tags # push missing but relevant tags - --force-with-lease: string # require old value of ref to be at this value + --force-with-lease # require old value of ref to be at this value --force(-f) # force updates --ipv4(-4) # use IPv4 addresses only --ipv6(-6) # use IPv6 addresses only