"This is a compatibility alias for the resolvectl(1) tool, providing native\n"
"command line compatibility with the resolvconf(8) tool of various Linux\n"
"distributions and BSD systems. Some options supported by other implementations\n"
- "are not supported and are ignored: -m, -p. Various options supported by other\n"
- "implementations are not supported and will cause the invocation to fail: -u,\n"
+ "are not supported and are ignored: -m, -p, -u. Various options supported by other\n"
+ "implementations are not supported and will cause the invocation to fail:\n"
"-I, -i, -l, -R, -r, -v, -V, --enable-updates, --disable-updates,\n"
"--updates-are-enabled.\n"
"\nSee the %2$s for details.\n",
log_debug("Switch -%c ignored.", c);
break;
- /* Everybody else can agree on the existence of -u but we don't support it. */
+ /* -u supposedly should "update all subscribers". We have no subscribers, hence let's make
+ this a NOP, and exit immediately, cleanly. */
case 'u':
+ log_info("Switch -%c ignored.", c);
+ return 0;
/* The following options are openresolv inventions we don't support. */
case 'I':