diff options
Diffstat (limited to 'networking/ether-wake.c')
-rw-r--r-- | networking/ether-wake.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/ether-wake.c b/networking/ether-wake.c index 52522e7..6677f07 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c @@ -212,8 +212,7 @@ int ether_wake_main(int argc UNUSED_PARAM, char **argv) struct whereto_t whereto; /* who to wake up */ /* handle misc user options */ - opt_complementary = "=1"; - flags = getopt32(argv, "bi:p:", &ifname, &pass); + flags = getopt32(argv, "^" "bi:p:" "\0" "=1", &ifname, &pass); if (flags & 4) /* -p */ wol_passwd_sz = get_wol_pw(pass, wol_passwd); flags &= 1; /* we further interested only in -b [bcast] flag */ |