Correct ping(1) usage string (Bug#372, reported by Leith Brandeland
This commit is contained in:
		
							parent
							
								
									f24f987b95
								
							
						
					
					
						commit
						692dc020e1
					
				@ -54,8 +54,7 @@ char *argv[];
 | 
			
		||||
 | 
			
		||||
	if (argc<2 || argc>3)
 | 
			
		||||
	{
 | 
			
		||||
		fprintf(stderr, "Usage: %s hostname [-l length] [-t timeout]\n",
 | 
			
		||||
			argv[0]);
 | 
			
		||||
		fprintf(stderr, "Usage: %s hostname [length]\n", argv[0]);
 | 
			
		||||
		exit(1);
 | 
			
		||||
	}
 | 
			
		||||
	hostent= gethostbyname(argv[1]);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user