diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 1cdaa938e3d..53307d65b9b 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -152,6 +152,10 @@ if argument.find("=") > -1: var key_value = argument.split("=") arguments[key_value[0].lstrip("--")] = key_value[1] + else: + # Options without an argument will be present in the dictionary, + # with the value set to an empty string. + arguments[argument.lstrip("--")] = "" [/codeblock]