[systemd-commits] src/hostname
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Mon Nov 4 17:34:57 CET 2013
src/hostname/hostnamectl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fc7689bc9ccf9b94f9a9f666f84c79b8f5b84791
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Nov 4 17:32:50 2013 +0100
hostnamectl: H requires an argument, P is no longer used
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c
index 7591d99..8d8dc3d 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) {
More information about the systemd-commits
mailing list