adjust: Allow any order of options when combining --hide-missing with options like...
authorJoey Hess <joeyh@joeyh.name>
Mon, 21 Oct 2024 20:03:29 +0000 (16:03 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 21 Oct 2024 20:03:39 +0000 (16:03 -0400)
commitbdf3a4747f6e27937ea714ad162914bedc1f652f
tree66bdf5689ded69c16ae2107eac725b9887791d2d
parent2c14181bcbb223266d96155d2cd60f7d87257f4f
adjust: Allow any order of options when combining --hide-missing with options like --unlock.

optparse-applicative made this hard, the naive implementation this had
before didn't let --hide-missing come after --unlock. And just adding
additional <|> with --hide-missing coming after --unlock didn't work
either. So need to get some options and then combine them.
CHANGELOG
Command/Adjust.hs
doc/bugs/git-annex-adjust_cares_about_argument_order.mdwn
doc/bugs/git-annex-adjust_cares_about_argument_order/comment_1_7d25bac61a284f0a6e890ca1736a9630._comment