diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-11-04 17:32:50 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-11-04 17:32:50 +0100 |
commit | fc7689bc9ccf9b94f9a9f666f84c79b8f5b84791 (patch) | |
tree | f45f5f02bec97e534adcef9854a2589c8119d67e /src/hostname/hostnamectl.c | |
parent | 5c11fbe3a75e8015f2c26736787d4279c091f091 (diff) |
hostnamectl: H requires an argument, P is no longer used
Diffstat (limited to 'src/hostname/hostnamectl.c')
-rw-r--r-- | src/hostname/hostnamectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index 7591d99988..8d8dc3d7f3 100644 --- a/src/hostname/hostnamectl.c +++ b/src/hostname/hostnamectl.c @@ -327,7 +327,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "hHM:P", options, NULL)) >= 0) { + while ((c = getopt_long(argc, argv, "hH:M:", options, NULL)) >= 0) { switch (c) { |