- add option to suppress the terse usage messages. Saves 6.8k for defconfig:
text data bss dec hex filename 861791 11264 1039140 1912195 1d2d83 busybox.have-terse-usage 854799 11264 1039140 1905203 1d1233 busybox.no-terse
This commit is contained in:
		
							
								
								
									
										10
									
								
								Config.in
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Config.in
									
									
									
									
									
								
							@@ -37,9 +37,19 @@ config CONFIG_FEATURE_BUFFERS_GO_IN_BSS
 | 
			
		||||
 | 
			
		||||
endchoice
 | 
			
		||||
 | 
			
		||||
config CONFIG_SHOW_USAGE
 | 
			
		||||
	bool "Show terse applet usage messages"
 | 
			
		||||
	default y
 | 
			
		||||
	help
 | 
			
		||||
	  All BusyBox applets will show help messages when invoked with
 | 
			
		||||
	  wrong arguments. You can turn off printing these terse usage
 | 
			
		||||
	  messages if you say no here.
 | 
			
		||||
	  This will save you up to 7k.
 | 
			
		||||
 | 
			
		||||
config CONFIG_FEATURE_VERBOSE_USAGE
 | 
			
		||||
	bool "Show verbose applet usage messages"
 | 
			
		||||
	default n
 | 
			
		||||
	select CONFIG_SHOW_USAGE
 | 
			
		||||
	help
 | 
			
		||||
	  All BusyBox applets will show more verbose help messages when
 | 
			
		||||
	  busybox is invoked with --help.  This will add a lot of text to the
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user