Command: add new option --command-param

Fix #1255
This commit is contained in:
李通洲
2024-09-10 21:59:30 +08:00
parent a052033dc6
commit e8f711830e
4 changed files with 49 additions and 13 deletions
+9
View File
@@ -1376,6 +1376,15 @@
"default": "\"cmd\" for Windows; \"/bin/sh\" for *nix"
}
},
{
"long": "command-param",
"desc": "Set the parameter used when starting the shell",
"remark": "Due to the difference of how OSes handle command line parameters, Windows will parse whitespaces as param separators, while *nix will not",
"arg": {
"type": "str",
"default": "\"/c\" for Windows; \"-c\" for *nix"
}
},
{
"long": "command-key",
"desc": "Set the module key to display",