Expose metadata-caching to --help
This commit is contained in:
		
							parent
							
								
									4d82c37539
								
							
						
					
					
						commit
						7dd6f1f4a4
					
				| @ -116,7 +116,7 @@ opts = | ||||
|   Options | ||||
|     <$> invertableSwitch "verbose" (Just 'v') False (help "Enable verbosity (default: disabled)") | ||||
|     <*> invertableSwitch "cache" (Just 'c') False (help "Cache downloads in ~/.ghcup/cache (default: disabled)") | ||||
|     <*> optional (option auto (long "metadata-caching" <> help "How long the yaml metadata caching interval is (in seconds), 0 to disable" <> internal)) | ||||
|     <*> optional (option auto (long "metadata-caching" <> metavar "SEC" <> help "How long the yaml metadata caching interval is (in seconds), 0 to disable")) | ||||
|     <*> optional (option auto (long "metadata-fetching-mode" <> metavar "<Strict|Lax>" <> help "Whether to fail on metadata download failure (Strict) or fall back to cached version (Lax (default))")) | ||||
|     <*> optional | ||||
|       (option | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user