add --sameas option, not yet used
This commit is contained in:
parent
7b5ce2b330
commit
61b384d2b7
6 changed files with 65 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
{- git-annex command-line option parsing
|
||||
-
|
||||
- Copyright 2010-2018 Joey Hess <id@joeyh.name>
|
||||
- Copyright 2010-2019 Joey Hess <id@joeyh.name>
|
||||
-
|
||||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
@ -114,6 +114,10 @@ parseRemoteOption = DeferredParse
|
|||
. (fromJust <$$> Remote.byNameWithUUID)
|
||||
. Just
|
||||
|
||||
parseUUIDOption :: String -> DeferredParse UUID
|
||||
parseUUIDOption = DeferredParse
|
||||
. (Remote.nameToUUID)
|
||||
|
||||
-- | From or To a remote.
|
||||
data FromToOptions
|
||||
= FromRemote (DeferredParse Remote)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue