summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2021-11-23 17:57:06 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2021-11-23 19:49:52 +0200
commitb54ffdef48ed200b332aa18e8bccfb9df5f7b1ea (patch)
tree5b99cfe09c120efe4aa395cd4a0d9f2860bc166c
parent8f82742ca4f47f459284f3a07323d04da72ea5f6 (diff)
downloadnetifd-b54ffdef48ed200b332aa18e8bccfb9df5f7b1ea.tar.gz
main: fix hotplug script usage message
Commit 41842d3f9173 introduced a new command line option, and its usage message was added in between the two lines of the hotplug script usage message. Move both lines back together. Fixes: 41842d3f9173 ("add some code for keeping track of dns servers ...") Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 0fb72b3..4c1c855 100644
--- a/main.c
+++ b/main.c
@@ -233,10 +233,10 @@ static int usage(const char *progname)
" -p <path>: Path to netifd addons (default: %s)\n"
" -c <path>: Path to UCI configuration\n"
" -h <path>: Path to the hotplug script\n"
+ " (default: "DEFAULT_HOTPLUG_PATH")\n"
" -r <path>: Path to resolv.conf\n"
" -l <level>: Log output level (default: %d)\n"
" -S: Use stderr instead of syslog for log messages\n"
- " (default: "DEFAULT_HOTPLUG_PATH")\n"
"\n", progname, main_path, DEFAULT_LOG_LEVEL);
return 1;