diff options
-rw-r--r-- | util/argparse.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/argparse.lua b/util/argparse.lua index 9ece050a..bd4eb220 100644 --- a/util/argparse.lua +++ b/util/argparse.lua @@ -44,6 +44,7 @@ local function parse(arg, config) param_k, param_v = param, true; end end + param_k = param_k:gsub("%-", "_"); end parsed_opts[param_k] = param_v; end |