From 59f432ea6d6d441d0af7c76c37e80730c8df473a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Nov 2012 22:47:04 +0100 Subject: hostnamectl: fix parsing of --no-ask-password --- src/hostname/hostnamectl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index b7ae5ccc6c..265c7ecbfe 100644 --- a/src/hostname/hostnamectl.c +++ b/src/hostname/hostnamectl.c @@ -403,6 +403,10 @@ static int parse_argv(int argc, char *argv[]) { arg_set_static = true; break; + case ARG_NO_ASK_PASSWORD: + arg_ask_password = false; + break; + case '?': return -EINVAL; -- cgit v1.2.3-54-g00ecf