summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-06-01 13:12:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-06-01 13:12:42 -0400
commitc005bc2887e886d3b48750b149bf5b155678a653 (patch)
treee1548c282b1649ce3d3ce3863a76152ea95d10b4 /Command
parent2ba326851f1f21b31b347a4c65e9ea9b0f9d0905 (diff)
support --to=. as shorthand for --to=here
Diffstat (limited to 'Command')
-rw-r--r--Command/Move.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/Move.hs b/Command/Move.hs
index 76b6c882a..6c65b8c2a 100644
--- a/Command/Move.hs
+++ b/Command/Move.hs
@@ -43,6 +43,7 @@ optParser desc = MoveOptions
parseto = herespecialcase <$> parseToOption
where
herespecialcase "here" = Left ToHere
+ herespecialcase "." = Left ToHere
herespecialcase n = Right $ ToRemote $ parseRemoteOption n
instance DeferredParseClass MoveOptions where