hostnamectl: H requires an argument, P is no longer used

This commit is contained in:
Thomas Hindoe Paaboel Andersen 2013-11-04 17:32:50 +01:00
parent 5c11fbe3a7
commit fc7689bc9c

View file

@ -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) {