|
@@ -344,9 +344,6 @@ static void dtx_arg(int& argc, char *argv[])
|
|
|
exit(0);
|
|
exit(0);
|
|
|
case '2': /* used for testing new binary through update */
|
|
case '2': /* used for testing new binary through update */
|
|
|
exit(2);
|
|
exit(2);
|
|
|
- case '3': /* return the size of our settings struct */
|
|
|
|
|
- printf("%d %zu\n", SETTINGS_VER, sizeof(settings_t));
|
|
|
|
|
- exit(0);
|
|
|
|
|
case '4':
|
|
case '4':
|
|
|
readconf(optarg, CONF_ENC);
|
|
readconf(optarg, CONF_ENC);
|
|
|
expand_tilde(&conf.binpath);
|
|
expand_tilde(&conf.binpath);
|
|
@@ -767,6 +764,12 @@ printf("out: %s\n", out);
|
|
|
exit(5); /* not initialized */
|
|
exit(5); /* not initialized */
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /* return the size of our settings struct */
|
|
|
|
|
+ if (argc == 2 && !strcmp(argv[1], STR("-3"))) {
|
|
|
|
|
+ printf("%d %zu\n", SETTINGS_VER, sizeof(settings_t));
|
|
|
|
|
+ exit(0);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
bool read_stdin = 0;
|
|
bool read_stdin = 0;
|
|
|
if (argc == 2 && !strcmp(argv[1], STR("-Q")))
|
|
if (argc == 2 && !strcmp(argv[1], STR("-Q")))
|