aboutsummaryrefslogtreecommitdiff
path: root/build-aux/getopt.m4
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/getopt.m4')
-rw-r--r--build-aux/getopt.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/build-aux/getopt.m4 b/build-aux/getopt.m4
index e38cfe9..b63baaf 100644
--- a/build-aux/getopt.m4
+++ b/build-aux/getopt.m4
@@ -284,6 +284,12 @@ define([<GETOPT>],[<
exit(EX_USAGE);
}
>],[<$3 = optind;>])
+ if (cmdline_tree)
+ {
+ struct grecs_node *rn = grecs_node_create(grecs_node_root, NULL);
+ rn->down = cmdline_tree;
+ cmdline_tree = rn;
+ }
}
>])

Return to:

Send suggestions and report system problems to the System administrator.