p2phttp support --jobs with --directory
authorJoey Hess <joeyh@joeyh.name>
Thu, 21 Nov 2024 18:15:14 +0000 (14:15 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 21 Nov 2024 18:15:14 +0000 (14:15 -0400)
commit3c18398d5ad06aaff480d20aa7765fce81efbf24
tree1b435a4615b0aa9a2f4e3e1edd09a6b654db9338
parent9f84dd82dab78eca8098d1aa0aa2b73c3a228d90
p2phttp support --jobs with --directory

--jobs is usually an Annex option setter, but --directory runs in IO, so
would not have that available. So instead moved the option parser into
the command's Options.
CmdLine/GitAnnex/Options.hs
Command/P2PHttp.hs
P2P/Http/State.hs