fix wormhole --appid option position
authorJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 19:11:38 +0000 (15:11 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 19:11:38 +0000 (15:11 -0400)
commit17129fed66921a8828a51270b6e4ed3a51581ac3
treefc210b5c1b3f948b391b7e225a307cf9d967e76d
parentce65f11de081ec3903ac388c59f5fdf021ccd237
fix wormhole --appid option position

p2p: Pass wormhole the --appid option before the receive/send command, as
it does not accept that option after the command

I'm left wondering, did I get this wrong from the beginning, or did
wormhole change its option parser? I'm reminded of the change in 0.8.2
where it silently changed what FD the pairing code was output to.
But, looking at the wormhole source, it was at least putting --appid before
send in its test suite from the introduction of the option.

So I think probably this has always been broken. On 2021-12-31 the --appid
option was enabled, and it took until now for someone to try
git-annex p2p --pair and notice that flag day broke it..

Sponsored-by: Svenne Krap on Patreon
CHANGELOG
Utility/MagicWormhole.hs
doc/bugs/git_annex_connecting_over_tor_does_not_work.mdwn