summaryrefslogtreecommitdiff
path: root/Command/Drop.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-09-14 13:19:04 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-09-14 13:19:04 -0400
commitd8bc62fed9ae2e85235fde7a6cba5f522daf6014 (patch)
treee4060fe221ab3dcb6ab2223e031987df6bfb7dbe /Command/Drop.hs
parente323354b4ca2a44baae8223b9dd47aaab234a56a (diff)
Improve bash completion, so it completes names of remotes and backends in appropriate places.
Not necessarily everywhere, but a lot of the most often used places. Re the use of .Internal, see https://github.com/pcapriotti/optparse-applicative/issues/155
Diffstat (limited to 'Command/Drop.hs')
-rw-r--r--Command/Drop.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs
index feb89b70e..b23f81758 100644
--- a/Command/Drop.hs
+++ b/Command/Drop.hs
@@ -46,6 +46,7 @@ parseDropFromOption :: Parser (DeferredParse Remote)
parseDropFromOption = parseRemoteOption $ strOption
( long "from" <> short 'f' <> metavar paramRemote
<> help "drop content from a remote"
+ <> completeRemotes
)
seek :: DropOptions -> CommandSeek