Update cavestats.c for newer survex help message lookup format

This commit is contained in:
Wookey 2013-06-11 03:56:09 +01:00
parent 6740b9ab96
commit 1649f30f81

View File

@ -50,8 +50,8 @@ static const struct option long_opts[] = {
static struct help_msg help[] = { static struct help_msg help[] = {
/* <-- */ /* <-- */
{HLP_ENCODELONG(0), "only load the sub-survey with this prefix"}, {HLP_ENCODELONG(0), /*only load the sub-survey with this prefix*/199, 0},
{0, 0} {0, 0, 0}
}; };
typedef struct { typedef struct {
@ -103,7 +103,7 @@ main(int argc, char **argv)
msg_init(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); cmdline_init(argc, argv, short_opts, long_opts, NULL, help, 1, 1);
while (1) { while (1) {
int opt = cmdline_getopt(); int opt = cmdline_getopt();