summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Cmd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Cmd.hs')
-rw-r--r--src/Propellor/Property/Cmd.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Propellor/Property/Cmd.hs b/src/Propellor/Property/Cmd.hs
index 3db00bc1..83414dcb 100644
--- a/src/Propellor/Property/Cmd.hs
+++ b/src/Propellor/Property/Cmd.hs
@@ -6,11 +6,10 @@
--
-- The best approach is to `check` a property, so that the command is only
-- run when it needs to be. With this method, you avoid running the
--- `cmdProperty` unnecessarily, and you know that whenever it runs, a
--- change was made.
+-- `cmdProperty` unnecessarily.
--
-- > check (not <$> userExists "bob")
--- > (cmdProperty "useradd" ["bob"] `assume` MadeChange)
+-- > (cmdProperty "useradd" ["bob"])
--
-- Sometimes it's just as expensive to check a property as it would be to
-- run the command that ensures the property. So you can let the command