teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0135-systemctl-add-the-plain-option-to-the-help-message.patch

572a44
From f1150c21ae7c7b337c29c12624046eccebc6b636 Mon Sep 17 00:00:00 2001
572a44
From: Djalal Harouni <tixxdz@opendz.org>
572a44
Date: Sun, 15 Dec 2013 00:05:38 +0100
572a44
Subject: [PATCH] systemctl: add the --plain option to the help message
572a44
572a44
---
572a44
 src/systemctl/systemctl.c | 3 ++-
572a44
 1 file changed, 2 insertions(+), 1 deletion(-)
572a44
572a44
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
572a44
index 1d68b38..d29133c 100644
572a44
--- a/src/systemctl/systemctl.c
572a44
+++ b/src/systemctl/systemctl.c
572a44
@@ -4745,7 +4745,8 @@ static int systemctl_help(void) {
572a44
                "     --root=PATH      Enable unit files in the specified root directory\n"
572a44
                "  -n --lines=INTEGER  Number of journal entries to show\n"
572a44
                "  -o --output=STRING  Change journal output mode (short, short-monotonic,\n"
572a44
-               "                      verbose, export, json, json-pretty, json-sse, cat)\n\n"
572a44
+               "                      verbose, export, json, json-pretty, json-sse, cat)\n"
572a44
+               "     --plain          Print unit dependencies as a list instead of a tree\n\n"
572a44
                "Unit Commands:\n"
572a44
                "  list-units                      List loaded units\n"
572a44
                "  list-sockets                    List loaded sockets ordered by address\n"