aboutsummaryrefslogtreecommitdiff
path: root/Command/Adjust.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-16 17:05:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-16 17:18:33 -0400
commit26e4d57a9537ea3ae0c3c3b6601ee19bdd5bf50b (patch)
tree9891b572befbc1e44b2179e6c5a9f48c96aa3a80 /Command/Adjust.hs
parentbb482c2f54c38a8b1d08ed7762e50ae46ed1bbac (diff)
adjust: Add --fix adjustment, which is useful when the git directory is in a nonstandard place.
Diffstat (limited to 'Command/Adjust.hs')
-rw-r--r--Command/Adjust.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Command/Adjust.hs b/Command/Adjust.hs
index 8c62c144c..204fd057a 100644
--- a/Command/Adjust.hs
+++ b/Command/Adjust.hs
@@ -21,6 +21,10 @@ optParser _ =
( long "unlock"
<> help "unlock annexed files"
)
+ <|> flag' FixAdjustment
+ ( long "fix"
+ <> help "fix symlinks to annnexed files"
+ )
{- Not ready yet
<|> flag' HideMissingAdjustment
( long "hide-missing"