Convert Settings to the new config system
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
This commit is contained in:
		
							parent
							
								
									6bd9576aeb
								
							
						
					
					
						commit
						ba9ad29fdb
					
				
					 18 changed files with 348 additions and 546 deletions
				
			
		| 
						 | 
				
			
			@ -251,7 +251,7 @@ struct CurlDownloader : public Downloader
 | 
			
		|||
 | 
			
		||||
            /* If no file exist in the specified path, curl continues to work
 | 
			
		||||
               anyway as if netrc support was disabled. */
 | 
			
		||||
            curl_easy_setopt(req, CURLOPT_NETRC_FILE, settings.netrcFile.c_str());
 | 
			
		||||
            curl_easy_setopt(req, CURLOPT_NETRC_FILE, settings.netrcFile.get().c_str());
 | 
			
		||||
            curl_easy_setopt(req, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
 | 
			
		||||
 | 
			
		||||
            result.data = std::make_shared<std::string>();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue