diff --git a/README.md b/README.md index f9cd9a1f..adde60c5 100644 --- a/README.md +++ b/README.md @@ -361,8 +361,8 @@ Commands: status | show Show status of services cond set Set (assert) condition => +COND cond clear Clear (deassert) condition => -COND - cond flux Emulate flux condition => ~COND cond show Show condition status + cond dump Dump all conditions and their status start [:ID] Start service by job# or name, with optional ID stop [:ID] Stop/Pause a running service by job# or name restart [:ID] Restart (stop/start) service by job# or name diff --git a/doc/conditions.md b/doc/conditions.md index b111c7e0..f1994cc0 100644 --- a/doc/conditions.md +++ b/doc/conditions.md @@ -3,7 +3,6 @@ Finit Conditions ![The service state machine](svc-machine.png "The service state machine") - * [Introduction](#introduction) * [Triggering](#triggering) * [Built-in Conditions](#built-in--conditions) diff --git a/doc/service.md b/doc/service.md index 2c25905b..ab528caf 100644 --- a/doc/service.md +++ b/doc/service.md @@ -27,7 +27,7 @@ The current state depends on the two following conditions: - `on` (+): The condition is asserted. - `off` (-): The condition is deasserted. - - `flux` (~): The conditions state is unknown. + - `flux` (~): The condition state is unknown. For a detailed description of conditions, and how to debug them, see the [Finit Conditions](conditions.md) document. diff --git a/src/initctl.c b/src/initctl.c index 67dd259d..ec6c161d 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -588,7 +588,7 @@ static int usage(int rc) " cond set Set (assert) condition => +COND\n" " cond clear Clear (deassert) condition => -COND\n" " cond show Show condition status\n" - " cond dump Show all conditions and their status\n" + " cond dump Dump all conditions and their status\n" "\n" " log [NAME] Show ten last Finit, or NAME, messages from syslog\n" " start [:ID] Start service by job# or name, with optional ID\n"