mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-28 18:21:53 +00:00
Update cavestats.c for newer survex help message lookup format
This commit is contained in:
parent
6740b9ab96
commit
1649f30f81
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user