run with noMessages

This avoids extraneous output from p2phttp, including eg, progress
displays when transferring to proxied special remotes.
This commit is contained in:
Joey Hess 2024-07-29 13:35:08 -04:00
parent 65da672ae6
commit 960daf210b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -25,9 +25,10 @@ import qualified Data.Map as M
import Data.String
cmd :: Command
cmd = withAnnexOptions [jobsOption] $ command "p2phttp" SectionPlumbing
"communicate in P2P protocol over http"
paramNothing (seek <$$> optParser)
cmd = noMessages $ withAnnexOptions [jobsOption] $
command "p2phttp" SectionPlumbing
"communicate in P2P protocol over http"
paramNothing (seek <$$> optParser)
data Options = Options
{ portOption :: Maybe PortNumber