summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2016-12-26 11:54:37 -0400
committerJoey Hess2016-12-26 11:54:37 -0400
commite3dacfc402108d2da408f843542d82dcab58157d (patch)
treef1ab3c21f74aa9858c18374f2c98a4cf7744dc98 /src/Propellor/CmdLine.hs
parentb046a63f49004b7439a5422e5ab51dfee7ba1958 (diff)
get usage and man page back in sync
Remove --build which is no longer present. Order the list of options the same. Document --rm-key in man page.
Diffstat (limited to 'src/Propellor/CmdLine.hs')
-rw-r--r--src/Propellor/CmdLine.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index fc256109..448abf62 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -25,19 +25,18 @@ usage h = hPutStrLn h $ unlines
[ "Usage:"
, " propellor --init"
, " propellor"
- , " propellor hostname"
, " propellor --spin targethost [--via relayhost]"
, " propellor --add-key keyid"
, " propellor --rm-key keyid"
, " propellor --list-fields"
- , " propellor --dump field context"
- , " propellor --edit field context"
, " propellor --set field context"
, " propellor --unset field context"
, " propellor --unset-unused"
+ , " propellor --dump field context"
+ , " propellor --edit field context"
, " propellor --merge"
- , " propellor --build"
, " propellor --check"
+ , " propellor hostname"
]
usageError :: [String] -> IO a