mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-10-27 05:19:58 -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:
1 parent
02fb625230
commit
80e4148b9b
6 files changed
+61
-51
No files matched your search
@@ -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