From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33664138335 for ; Tue, 6 Nov 2018 03:38:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10346E095A; Tue, 6 Nov 2018 03:38:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5E61E095A for ; Tue, 6 Nov 2018 03:38:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7A04335CD2 for ; Tue, 6 Nov 2018 03:38:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BE35459 for ; Tue, 6 Nov 2018 03:38:05 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1541439579.025c9693ccab9c6220520ace47aa81553e7ea600.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-service.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 025c9693ccab9c6220520ace47aa81553e7ea600 X-VCS-Branch: master Date: Tue, 6 Nov 2018 03:38:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e47dfe72-0be8-427f-8b6d-00182f9c411e X-Archives-Hash: df5cd3ea93e969739d7ff0f56e42720a commit: 025c9693ccab9c6220520ace47aa81553e7ea600 Author: William Hubbs gmail com> AuthorDate: Mon Nov 5 17:39:39 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Nov 5 17:39:39 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=025c9693 rc-service: fix help output src/rc/rc-service.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/rc/rc-service.c b/src/rc/rc-service.c index 8b01fa0d..e9795650 100644 --- a/src/rc/rc-service.c +++ b/src/rc/rc-service.c @@ -49,10 +49,12 @@ const char * const longopts_help[] = { "set xtrace when running the command", "ignore dependencies", "tests if the service exists or not", - "if the service is crashed then run the command", - "if the service exists then run the command", - "if the service is inactive then run the command", - "if the service is not started then run the command", + "if the service is crashed run the command", + "if the service exists run the command", + "if the service is inactive run the command", + "if the service is not started run the command", + "if the service is started run the command", + "if the service is stopped run the command", "list all available services", "resolve the service name to an init script", "dry run (show what would happen)",