X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fconf.c;fp=config%2Fconf.c;h=bd0421791dc811ce6e9097042559f0300275bb8e;hp=c19af7d7d99d7bc8b3ebf717dd5a13ac8f66a9f8;hb=91f5df61ee2bc90fda695d3a0db33b07916001ba;hpb=a9ddd9e866faef305376bf826b868b36bebf59ed diff --git a/config/conf.c b/config/conf.c index c19af7d..bd04217 100644 --- a/config/conf.c +++ b/config/conf.c @@ -31,7 +31,6 @@ enum input_mode { defconfig, savedefconfig, listnewconfig, - oldnoconfig, }; static enum input_mode input_mode = oldaskconfig; @@ -454,7 +453,6 @@ static struct option long_opts[] = { {"alldefconfig", no_argument, NULL, alldefconfig}, {"randconfig", no_argument, NULL, randconfig}, {"listnewconfig", no_argument, NULL, listnewconfig}, - {"noconfig", no_argument, NULL, oldnoconfig}, {NULL, 0, NULL, 0} }; @@ -538,7 +536,6 @@ int main(int ac, char **av) case allmodconfig: case alldefconfig: case listnewconfig: - case oldnoconfig: break; case '?': conf_usage(progname); @@ -572,7 +569,6 @@ int main(int ac, char **av) case oldaskconfig: case oldconfig: case listnewconfig: - case oldnoconfig: conf_read(NULL); break; case allnoconfig: @@ -641,7 +637,6 @@ int main(int ac, char **av) /* fall through */ case oldconfig: case listnewconfig: - case oldnoconfig: /* Update until a loop caused no more changes */ do { conf_cnt = 0;