showOutput
authorJoey Hess <joeyh@joeyh.name>
Wed, 26 Feb 2025 13:47:56 +0000 (09:47 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 26 Feb 2025 13:47:56 +0000 (09:47 -0400)
when the compute program eg displays usage, it needs to start on its own
line

Command/AddComputed.hs

index 8b983a738ccc51b52f5d388259325130687b4e89..fad9c1dc30f3bee21a0b6023f83d616c30f053db 100644 (file)
@@ -97,6 +97,7 @@ perform o r program = do
                }
        fast <- Annex.getRead Annex.fast
        starttime <- liftIO currentMonotonicTimestamp
+       showOutput
        Remote.Compute.runComputeProgram program state
                (Remote.Compute.ImmutableState False)
                (getinputcontent fast)