Fix downloader completer

This commit is contained in:
Julian Ospald 2022-03-05 20:14:10 +01:00
parent 04fc04f586
commit 199d3b7aee
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -144,13 +144,14 @@ opts =
<> metavar "<internal|curl|wget>"
<> help
"Downloader to use (default: internal)"
<> completer (listCompleter ["internal", "curl", "wget"])
#else
<> metavar "<curl|wget>"
<> 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