aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r--src/app/config/config.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index cc5bc88277..522c3b5728 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -2494,25 +2494,25 @@ static const struct {
{ .name="--hush",
.quiet=1 },
{ .name="--version",
- .command=CMD_OTHER,
+ .command=CMD_IMMEDIATE,
.quiet=1 },
{ .name="--list-modules",
- .command=CMD_OTHER,
+ .command=CMD_IMMEDIATE,
.quiet=1 },
{ .name="--library-versions",
- .command=CMD_OTHER,
+ .command=CMD_IMMEDIATE,
.quiet=1 },
{ .name="-h",
- .command=CMD_OTHER,
+ .command=CMD_IMMEDIATE,
.quiet=1 },
{ .name="--help",
- .command=CMD_OTHER,
+ .command=CMD_IMMEDIATE,
.quiet=1 },
{ .name="--list-torrc-options",
- .command=CMD_OTHER,
+ .command=CMD_IMMEDIATE,
.quiet=1 },
{ .name="--list-deprecated-options",
- .command=CMD_OTHER },
+ .command=CMD_IMMEDIATE },
{ .name="--nt-service" },
{ .name="-nt-service" },
{ .name=NULL },
@@ -5321,8 +5321,8 @@ options_init_from_torrc(int argc, char **argv)
int command = global_cmdline->command;
const char *command_arg = global_cmdline->command_arg;
- /* "Other" has already been handled by this point. */
- tor_assert(command != CMD_OTHER);
+ /* "immediate" has already been handled by this point. */
+ tor_assert(command != CMD_IMMEDIATE);
if (command == CMD_HASH_PASSWORD) {
cf_defaults = tor_strdup("");