summaryrefslogtreecommitdiff
path: root/Command/Drop.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-09 01:02:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-09 01:02:27 -0400
commit32274462439c44972f5cec1054b623ad4396909f (patch)
tree632142c0be37b9647d863341eb4bd2f2c93bf705 /Command/Drop.hs
parent8d691787503262e7c5c768cd7eeb24e1ecf873f4 (diff)
finalOpt is the same as optional
Diffstat (limited to 'Command/Drop.hs')
-rw-r--r--Command/Drop.hs2
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