summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
m---------grecs0
-rw-r--r--src/cmdline.opt4
2 files changed, 2 insertions, 2 deletions
diff --git a/grecs b/grecs
-Subproject 0b44dc8fcb5c4a4d4b8c7e74a90d8bda602ed22
+Subproject 83a06bbc6b3796a0b8646816da34c6672488cbf
diff --git a/src/cmdline.opt b/src/cmdline.opt
index c4afef4..5cbeb5a 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -393,14 +393,14 @@ parse_options(int argc, char *argv[])
{
program_name = strrchr(argv[0], '/');
if (program_name)
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;
flags = flags_on & ~flags_off;
if (!(flags & (GRECS_NODE_FLAG_PATH|GRECS_NODE_FLAG_VALUE))) {
grecs_warning(NULL, 0, "assuming --format=path,value");

Return to:

Send suggestions and report system problems to the System administrator.