Commit 0aaacca2 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Use "none" for -T as well

parent b2c18706
......@@ -704,7 +704,7 @@ main(int argc, char * const *argv)
if (M_arg != NULL && *M_arg == '\0')
M_arg = NULL;
if (T_arg != NULL && *T_arg == '\0')
if (T_arg != NULL && !strcmp(T_arg, "none"))
T_arg = NULL;
/* XXX: we can have multiple CLI actions above, is this enough ? */
......
......@@ -139,7 +139,8 @@ OPTIONS
-T <address[:port]>
Offer a management interface on the specified address and port. See
`Management Interface`_ for a list of management commands.
`Management Interface`_ for a list of management commands. To disable
the management interface use ``none``.
-t TTL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment