Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
This commit is contained in:
		@@ -26,11 +26,13 @@
 | 
			
		||||
#include <sys/stat.h>
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
 | 
			
		||||
static const char mkfifo_usage[] = "mkfifo [OPTIONS] name\n\n"
 | 
			
		||||
	"Creates a named pipe (identical to 'mknod name p')\n\n"
 | 
			
		||||
 | 
			
		||||
static const char mkfifo_usage[] = "mkfifo [OPTIONS] name\n"
 | 
			
		||||
#ifndef BB_FEATURE_TRIVIAL_HELP
 | 
			
		||||
	"\nCreates a named pipe (identical to 'mknod name p')\n\n"
 | 
			
		||||
	"Options:\n"
 | 
			
		||||
	"\t-m\tcreate the pipe using the specified mode (default a=rw)\n";
 | 
			
		||||
	"\t-m\tcreate the pipe using the specified mode (default a=rw)\n"
 | 
			
		||||
#endif
 | 
			
		||||
	;
 | 
			
		||||
 | 
			
		||||
extern int mkfifo_main(int argc, char **argv)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user