summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-09-19 20:32:46 +0200
committertv <tv@krebsco.de>2017-09-19 20:32:46 +0200
commit3416a45b54e092c6b9b24738aa44d3c217982c26 (patch)
treed96638feeaf2ece0a319a229edd5c9e97ba5d504
parented9a1085946589409caba6e18233c329d99c0b4b (diff)
withGetopt: pass "$@" to command
-rw-r--r--krebs/5pkgs/simple/withGetopt.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/withGetopt.nix b/krebs/5pkgs/simple/withGetopt.nix
index fd59adca..21322b78 100644
--- a/krebs/5pkgs/simple/withGetopt.nix
+++ b/krebs/5pkgs/simple/withGetopt.nix
@@ -102,5 +102,5 @@ in writeDash wrapper-name ''
export ${opt.varname}
'') opts)}
- ${cmd-script}
+ ${cmd-script} "$@"
''