From f56aa749790691ac3a44cc9c67a0ee7055939f78 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 15 Aug 2012 23:02:09 +0200 Subject: [PATCH] adu.ggo: Remove unused --config-file option. This never worked since we do not even call the generated config file parser. Also remove --conf-parser from gengetopt options. --- Makefile | 2 +- adu.ggo | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 8e2c965..ddaef7b 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ cmdline.o: cmdline.c cmdline.h $(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 diff --git a/adu.ggo b/adu.ggo index 873cc22..f8c4a1f 100644 --- a/adu.ggo +++ b/adu.ggo @@ -14,18 +14,6 @@ usage patterns of subdirectories and/or files owned by a given user id. 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)" -- 2.39.2