chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostnamectl: H requires an argument, P is no longer used
[elogind.git]
/
src
/
hostname
/
hostnamectl.c
diff --git
a/src/hostname/hostnamectl.c
b/src/hostname/hostnamectl.c
index 7591d99988759c7d0873d8697b43d2c4677eef3c..8d8dc3d7f357e73a24def4fe363f08f28c45d168 100644
(file)
--- 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, "hH
M:P
", options, NULL)) >= 0) {
+ while ((c = getopt_long(argc, argv, "hH
:M:
", options, NULL)) >= 0) {
switch (c) {