finalOpt is the same as optional
This commit is contained in:
parent
463709ab2a
commit
d8d1499229
3 changed files with 4 additions and 10 deletions
|
@ -46,7 +46,7 @@ optParser desc = DropOptions
|
|||
<*> parseKeyOptions False
|
||||
|
||||
parseDropFromOption :: Parser (Maybe RemoteName)
|
||||
parseDropFromOption = finalOpt $ strOption
|
||||
parseDropFromOption = optional $ strOption
|
||||
( long "from"
|
||||
<> short 'f'
|
||||
<> metavar paramRemote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue