From d8bc62fed9ae2e85235fde7a6cba5f522daf6014 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Sep 2015 13:19:04 -0400 Subject: 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 --- Command/Drop.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Command/Drop.hs') 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 -- cgit v1.2.3