summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test.c b/src/test.c
index 1fec21f8d..3db4f93fd 100644
--- a/src/test.c
+++ b/src/test.c
@@ -1091,6 +1091,8 @@ main (int margc, char **margv)
parse_long_options (margc, margv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
AUTHORS, usage);
+ argv = margv;
+
if (LBRACKET)
{
--margc;
@@ -1099,7 +1101,6 @@ main (int margc, char **margv)
test_syntax_error (_("missing `]'\n"), NULL);
}
- argv = margv;
argc = margc;
pos = 1;