mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:42:45 +00:00 
			
		
		
		
	 cbc89632b9
			
		
	
	
		cbc89632b9
		
	
	
	
	
		
			
			This adds the ability to hide certain options from certain help texts. `--complete` is always hidden, whereas `--help` and `--version` are hidden from Markdown help text only. Note that in all cases these three options are hidden from the short usage line.
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			615 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			615 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| nc
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```sh
 | |
| $ nc [--listen] [--verbose] [--udp] [-N] [--length ] <target> <port>
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| Network cat: Connect to network sockets as if it were a file.
 | |
| 
 | |
| ## Options:
 | |
| 
 | |
| * `-l`, `--listen`: Listen instead of connecting
 | |
| * `-v`, `--verbose`: Log everything that's happening
 | |
| * `-u`, `--udp`: UDP mode
 | |
| * `-N`: Close connection after reading stdin to the end
 | |
| * `-I`, `--length`: Set maximum tcp receive buffer size
 | |
| 
 | |
| ## Arguments:
 | |
| 
 | |
| * `target`: Address to listen on, or the address or hostname to connect to
 | |
| * `port`: Port to connect to or listen on
 | |
| 
 | |
| <!-- Auto-generated through ArgsParser -->
 |