hostnamectl: H requires an argument, P is no longer used
This commit is contained in:
parent
5c11fbe3a7
commit
fc7689bc9c
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue