diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-06-01 13:12:42 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-06-01 13:12:42 -0400 |
commit | c005bc2887e886d3b48750b149bf5b155678a653 (patch) | |
tree | e1548c282b1649ce3d3ce3863a76152ea95d10b4 /Command/Move.hs | |
parent | 2ba326851f1f21b31b347a4c65e9ea9b0f9d0905 (diff) |
support --to=. as shorthand for --to=here
Diffstat (limited to 'Command/Move.hs')
-rw-r--r-- | Command/Move.hs | 1 |
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 |