ryantimwilson / rpms / systemd

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