Add usage messages for applets without them.
This commit is contained in:
		@@ -26,6 +26,9 @@
 | 
			
		||||
 | 
			
		||||
extern int reboot_main(int argc, char **argv)
 | 
			
		||||
{
 | 
			
		||||
	if (argc > 1 && strcmp(argv[1], "--help") == 0)
 | 
			
		||||
		usage(reboot_usage);
 | 
			
		||||
 | 
			
		||||
#ifdef BB_FEATURE_LINUXRC
 | 
			
		||||
	/* don't assume init's pid == 1 */
 | 
			
		||||
	return(kill(*(findPidByName("init")), SIGINT));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user