From 741857e2c91b67b75e763b17ccdc6909bbc41709 Mon Sep 17 00:00:00 2001 From: Opportunity Date: Wed, 15 Jan 2020 17:57:26 +0800 Subject: fix complete --- scripts/register-completions.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/register-completions.ps1 b/scripts/register-completions.ps1 index bae3281f8..f7e3e5da4 100644 --- a/scripts/register-completions.ps1 +++ b/scripts/register-completions.ps1 @@ -8,7 +8,7 @@ Register-ArgumentCompleter -Native -CommandName xmake -ScriptBlock { } $oldenv = $env:XMAKE_SKIP_HISTORY $env:XMAKE_SKIP_HISTORY = 1 - xmake lua private.utils.complete "0" "$complete" | ForEach-Object { + xmake lua private.utils.complete "0" "nospace" "$complete" | ForEach-Object { [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) } $env:XMAKE_SKIP_HISTORY = $oldenv -- cgit v1.3.1