From 1649f30f815ad12f5ec85ce66845f64edcf38634 Mon Sep 17 00:00:00 2001 From: Wookey Date: Tue, 11 Jun 2013 03:56:09 +0100 Subject: [PATCH] Update cavestats.c for newer survex help message lookup format --- noinfo/cavestats.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/noinfo/cavestats.c b/noinfo/cavestats.c index aa9d00c28..1728c6147 100644 --- a/noinfo/cavestats.c +++ b/noinfo/cavestats.c @@ -50,8 +50,8 @@ static const struct option long_opts[] = { static struct help_msg help[] = { /* <-- */ - {HLP_ENCODELONG(0), "only load the sub-survey with this prefix"}, - {0, 0} + {HLP_ENCODELONG(0), /*only load the sub-survey with this prefix*/199, 0}, + {0, 0, 0} }; typedef struct { @@ -103,7 +103,7 @@ main(int argc, char **argv) msg_init(argv); - cmdline_set_syntax_message("3D_FILE", NULL); /* TRANSLATE */ + cmdline_set_syntax_message(/*3D_FILE*/217, 0, NULL); /* TRANSLATE */ cmdline_init(argc, argv, short_opts, long_opts, NULL, help, 1, 1); while (1) { int opt = cmdline_getopt();