main: fix hotplug script usage message
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 23 Nov 2021 15:57:06 +0000 (17:57 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 23 Nov 2021 17:49:52 +0000 (19:49 +0200)
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>
main.c

diff --git a/main.c b/main.c
index 0fb72b344f2317f6cb9745f433952ce2c69b7f3f..4c1c8554fbd6c305fa83dea572079171be548415 100644 (file)
--- 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;