diff --git a/app/ghcup/GHCup/OptParse.hs b/app/ghcup/GHCup/OptParse.hs index f4b48cd..ebe48ed 100644 --- a/app/ghcup/GHCup/OptParse.hs +++ b/app/ghcup/GHCup/OptParse.hs @@ -144,13 +144,14 @@ opts = <> metavar "" <> help "Downloader to use (default: internal)" + <> completer (listCompleter ["internal", "curl", "wget"]) #else <> metavar "" <> help "Downloader to use (default: curl)" + <> completer (listCompleter ["curl", "wget"]) #endif <> hidden - <> completer (listCompleter ["curl", "wget"]) )) <*> invertableSwitch "offline" 'o' False (help "Don't do any network calls, trying cached assets and failing if missing.") <*> optional (option