Diff

util/argparse.lua @ 11846:6425dfa3de45

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 12 Oct 2021 14:59:18 +0200
parent 10936:d770435f0f84
child 12475:553c6204fe5b
line wrap: on
line diff
--- a/util/argparse.lua	Tue Oct 12 14:54:04 2021 +0200
+++ b/util/argparse.lua	Tue Oct 12 14:59:18 2021 +0200
@@ -26,7 +26,7 @@
 		end
 
 		if not param then
-			return nil, "param-not-found", param;
+			return nil, "param-not-found", raw_param;
 		end
 
 		local param_k, param_v;