mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-03 23:57:23 -04:00
Switch Windows to use ":" instead of "-" for options flags because PowerShell is horrible and interprets "-" as a named parameter
This commit is contained in:
@@ -45,6 +45,6 @@ function mutn {
|
||||
[ArgumentCompleter({ MUTNArgumentCompleter @args })]
|
||||
[string]$option
|
||||
)
|
||||
#Invoke-Expression -Command ('/usr/local/bin/mutn ' + ($entry -replace ' ', '` '), $argument, $option).Trim() # UNIX testing
|
||||
#Invoke-Expression -Command ('/usr/local/bin/mutn ' + ($entry -replace ' ', '` '), $argument, ($option -replace ':', '-')).Trim() # UNIX testing
|
||||
Invoke-Expression -Command ('mutn.exe ' + ($entry -replace ' ', '` '), $argument, $option).Trim()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user