diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-09 01:02:27 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-09 01:02:27 -0400 |
commit | 32274462439c44972f5cec1054b623ad4396909f (patch) | |
tree | 632142c0be37b9647d863341eb4bd2f2c93bf705 /Command/Drop.hs | |
parent | 8d691787503262e7c5c768cd7eeb24e1ecf873f4 (diff) |
finalOpt is the same as optional
Diffstat (limited to 'Command/Drop.hs')
-rw-r--r-- | Command/Drop.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs index b569491bb..e246af342 100644 --- a/Command/Drop.hs +++ b/Command/Drop.hs @@ -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 |