naccyde / rpms / systemd

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