This never worked since we do not even call the generated config file
parser. Also remove --conf-parser from gengetopt options.
$(CC) -c $(CPPFLAGS) $<
cmdline.c cmdline.h: adu.ggo
- gengetopt --no-handle-error --no-handle-help --conf-parser < $<
+ gengetopt --no-handle-error --no-handle-help < $<
%.o: %.c Makefile
section "General options"
#########################
-option "config-file" c
-#~~~~~~~~~~~~~~~~~~~~~
-"(default='~/.adurc')"
-string typestr="filename"
-optional
-details="
- Options may be given at the command line or in the
- configuration file. As usual, if an option is given both at
- the command line and in the configuration file, the command
- line option takes precedence.
-"
-
option "loglevel" l
#~~~~~~~~~~~~~~~~~~
"Set loglevel (0-6)"