Add some context on missing arguments #14
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,8 @@ async fn main() -> Result<()> {
 | 
			
		|||
    let conf: Config = conf_extractor
 | 
			
		||||
        .merge(FileAdapter::wrap(Env::prefixed("IMMICH_TOOLS_")))
 | 
			
		||||
        .merge(Serialized::defaults(&args))
 | 
			
		||||
        .extract()?;
 | 
			
		||||
        .extract()
 | 
			
		||||
        .wrap_err_with(|| "Invalid configuration or insufficient command line arguments")?;
 | 
			
		||||
 | 
			
		||||
    let client = get_client(&conf.server_url, &conf.api_key)?;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue