summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2014-07-06 16:44:13 -0400
committerJoey Hess2014-07-06 16:46:00 -0400
commit20df4170b096a92a038ed8fb6fc6d44f71c42f0e (patch)
tree64d0960b17bc1fca074d6f26ab0e92e36afbfc29 /src/Propellor/CmdLine.hs
parent5002b5e3915890542286487efb852c16c0ca988d (diff)
beautiful table for --list-fields, with the hostnames
Diffstat (limited to 'src/Propellor/CmdLine.hs')
-rw-r--r--src/Propellor/CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index b6dd2bc1..c4a3afec 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -76,7 +76,7 @@ defaultMain hostlist = do
go _ (Set field context) = setPrivData field context
go _ (Dump field context) = dumpPrivData field context
go _ (Edit field context) = editPrivData field context
- go _ ListFields = listPrivDataFields
+ go _ ListFields = listPrivDataFields hostlist
go _ (AddKey keyid) = addKey keyid
go _ (Chain hn) = withhost hn $ \h -> do
r <- runPropellor h $ ensureProperties $ hostProperties h