Более лаконичное название для флагов: no-presnag -> no-pre, no-postsnag -> no-post
This commit is contained in:
		
							parent
							
								
									f924800387
								
							
						
					
					
						commit
						31211516cb
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		
							
								
								
									
										12
									
								
								source/app.d
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								source/app.d
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -63,11 +63,11 @@ int main(string[] args)
 | 
			
		|||
					"must contain an email address"
 | 
			
		||||
				)
 | 
			
		||||
			)
 | 
			
		||||
			.add(new Flag(null, "no-presnag", "Execution without running pre-execution commands")
 | 
			
		||||
			.add(new Flag(null, "no-pre", "Execution without running pre-execution commands")
 | 
			
		||||
				.name("nopre")
 | 
			
		||||
				.optional
 | 
			
		||||
			)
 | 
			
		||||
			.add(new Flag(null, "no-postsnag", "Execution without running post-execution commands")
 | 
			
		||||
			.add(new Flag(null, "no-post", "Execution without running post-execution commands")
 | 
			
		||||
				.name("nopost")
 | 
			
		||||
				.optional
 | 
			
		||||
			)
 | 
			
		||||
| 
						 | 
				
			
			@ -104,11 +104,11 @@ int main(string[] args)
 | 
			
		|||
					"must contain an email address"
 | 
			
		||||
				)
 | 
			
		||||
			)
 | 
			
		||||
			.add(new Flag(null, "no-presnag", "Execution without running pre-execution commands")
 | 
			
		||||
			.add(new Flag(null, "no-pre", "Execution without running pre-execution commands")
 | 
			
		||||
				.name("nopre")
 | 
			
		||||
				.optional
 | 
			
		||||
			)
 | 
			
		||||
			.add(new Flag(null, "no-postsnag", "Execution without running post-execution commands")
 | 
			
		||||
			.add(new Flag(null, "no-post", "Execution without running post-execution commands")
 | 
			
		||||
				.name("nopost")
 | 
			
		||||
				.optional
 | 
			
		||||
			)
 | 
			
		||||
| 
						 | 
				
			
			@ -129,11 +129,11 @@ int main(string[] args)
 | 
			
		|||
		)
 | 
			
		||||
		.add(new Command("restore", "Restore to the specified snapshot state")
 | 
			
		||||
			.add(new Argument("snapshot", "Specify snapshot hash").required)
 | 
			
		||||
			.add(new Flag(null, "no-presnag", "Execution without running pre-execution commands")
 | 
			
		||||
			.add(new Flag(null, "no-pre", "Execution without running pre-execution commands")
 | 
			
		||||
				.name("nopre")
 | 
			
		||||
				.optional
 | 
			
		||||
			)
 | 
			
		||||
			.add(new Flag(null, "no-postsnag", "Execution without running post-execution commands")
 | 
			
		||||
			.add(new Flag(null, "no-post", "Execution without running post-execution commands")
 | 
			
		||||
				.name("nopost")
 | 
			
		||||
				.optional
 | 
			
		||||
			)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue