less: Ignore -X
The flag disables termcap init/deinit of the terminal, which the applet doesn't do anyway. Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		
				
					committed by
					
						
						Denys Vlasenko
					
				
			
			
				
	
			
			
			
						parent
						
							5b026d1ecf
						
					
				
				
					commit
					35727f5741
				
			@@ -1820,7 +1820,7 @@ int less_main(int argc, char **argv)
 | 
			
		||||
	getopt32(argv, "EMmN~IF"
 | 
			
		||||
		IF_FEATURE_LESS_TRUNCATE("S")
 | 
			
		||||
		IF_FEATURE_LESS_RAW("R")
 | 
			
		||||
		/*ignored:*/"s"
 | 
			
		||||
		/*ignored:*/"sX"
 | 
			
		||||
	);
 | 
			
		||||
	argv += optind;
 | 
			
		||||
	num_files = argc - optind;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user