summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-04 17:32:50 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-04 17:32:50 +0100
commitfc7689bc9ccf9b94f9a9f666f84c79b8f5b84791 (patch)
treef45f5f02bec97e534adcef9854a2589c8119d67e /src/hostname
parent5c11fbe3a75e8015f2c26736787d4279c091f091 (diff)
hostnamectl: H requires an argument, P is no longer used
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/hostnamectl.c2
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) {