add showSideAction
This commit is contained in:
parent
98a77ab725
commit
ba59ac13b2
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ verbose a = do
|
||||||
q <- Annex.flagIsSet "quiet"
|
q <- Annex.flagIsSet "quiet"
|
||||||
unless q a
|
unless q a
|
||||||
|
|
||||||
|
showSideAction :: String -> Annex ()
|
||||||
|
showSideAction s = verbose $ liftIO $ putStrLn $ "(" ++ s ++ ")"
|
||||||
|
|
||||||
showStart :: String -> String -> Annex ()
|
showStart :: String -> String -> Annex ()
|
||||||
showStart command file = verbose $ do
|
showStart command file = verbose $ do
|
||||||
liftIO $ putStr $ command ++ " " ++ file ++ " "
|
liftIO $ putStr $ command ++ " " ++ file ++ " "
|
||||||
|
|
Loading…
Reference in a new issue