summaryrefslogtreecommitdiffabout
path: root/src/cmdline.opt
Side-by-side diff
Diffstat (limited to 'src/cmdline.opt') (more/less context) (ignore whitespace changes)
-rw-r--r--src/cmdline.opt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index c4afef4..5cbeb5a 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -396,8 +396,8 @@ parse_options(int argc, char *argv[])
program_name++;
else
program_name = argv[0];
- print_help_hook = flags_help;
- print_version_hook = cfpeek_version_hook;
+ proginfo.print_help_hook = flags_help;
+ proginfo.print_version_hook = cfpeek_version_hook;
GETOPT(argc, argv, file_index, exit(EX_USAGE))
if (!(flags_on & _GRECS_NODE_MASK_OUTPUT))
flags_on |= GRECS_NODE_FLAG_PATH|GRECS_NODE_FLAG_VALUE;

Return to:

Send suggestions and report system problems to the System administrator.