diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -46,6 +46,8 @@ static int usage(const char *progname) " -d <mask>: Mask for debug messages\n" " -s <path>: Path to the ubus socket\n" " -p <path>: Path to netifd addons (default: %s)\n" + " -h <path>: Path to the hotplug script\n" + " (default: "DEFAULT_HOTPLUG_PATH")\n" "\n", progname, main_path); return 1; @@ -69,6 +71,9 @@ int main(int argc, char **argv) case 'p': main_path = optarg; break; + case 'h': + hotplug_cmd_path = optarg; + break; default: return usage(argv[0]); } |