aboutsummaryrefslogtreecommitdiff
path: root/Command/NumCopies.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-06 15:26:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-06 15:26:42 -0400
commit16892f70041210eee9920a624097a36f881d38d0 (patch)
tree81507c87af411328ae2aec8199d9c90404df2953 /Command/NumCopies.hs
parent2f958a44a4cbb2f4abc2a46e9093dacbc07c1bf3 (diff)
avoid using print action, which is reserved for debugging
Diffstat (limited to 'Command/NumCopies.hs')
-rw-r--r--Command/NumCopies.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/NumCopies.hs b/Command/NumCopies.hs
index 1a3dd3dad..5675d3161 100644
--- a/Command/NumCopies.hs
+++ b/Command/NumCopies.hs
@@ -39,7 +39,7 @@ startGet = next $ next $ do
Annex.setOutput QuietOutput
v <- getGlobalNumCopies
case v of
- Just n -> liftIO $ print $ fromNumCopies n
+ Just n -> liftIO $ putStrLn $ show $ fromNumCopies n
Nothing -> do
liftIO $ putStrLn "global numcopies is not set"
old <- deprecatedNumCopies