set __cdist_dry_run env var if dry-run
This commit is contained in:
		
					parent
					
						
							
								fe643b9092
							
						
					
				
			
			
				commit
				
					
						69622b0fa5
					
				
			
		
					 6 changed files with 32 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -219,6 +219,10 @@ __cdist_log_level, __cdist_log_level_name
 | 
			
		|||
    | TRACE          | 5               |
 | 
			
		||||
    +----------------+-----------------+
 | 
			
		||||
 | 
			
		||||
    Available for: initial manifest, explorer, type manifest, type explorer,
 | 
			
		||||
    type gencode.
 | 
			
		||||
__cdist_dry_run
 | 
			
		||||
    Is set only when doing dry run (``-n`` flag).
 | 
			
		||||
    Available for: initial manifest, explorer, type manifest, type explorer,
 | 
			
		||||
    type gencode.
 | 
			
		||||
__explorer
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -371,6 +371,15 @@ It is available for initial manifest, explorer, type manifest,
 | 
			
		|||
type explorer, type gencode.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Detecting dry run
 | 
			
		||||
-----------------
 | 
			
		||||
 | 
			
		||||
If ``$__cdist_dry_run`` environment variable is set, then it's dry run.
 | 
			
		||||
 | 
			
		||||
It is available for initial manifest, explorer, type manifest,
 | 
			
		||||
type explorer, type gencode.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Hints for typewriters
 | 
			
		||||
----------------------
 | 
			
		||||
It must be assumed that the target is pretty dumb and thus does not have high
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue