mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:42:44 +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.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			453 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			453 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| lsof
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```sh
 | |
| $ lsof [-p pid] [-d fd] [-u login/UID] [-g PGID] [filename]
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| List open files of a processes. This can mean actual files in the file system, sockets, pipes, etc.
 | |
| 
 | |
| ## Options:
 | |
| 
 | |
| * `-p pid`: Select by PID
 | |
| * `-d fd`: Select by file descriptor
 | |
| * `-u login/UID`: Select by login/UID
 | |
| * `-g PGID`: Select by process group ID
 | |
| 
 | |
| ## Arguments:
 | |
| 
 | |
| * `filename`: Filename
 | |
| 
 | |
| <!-- Auto-generated through ArgsParser -->
 |