head: Fix usage and manpage
-N is not a flag but rather a number specification. Be consistent and use -num to be consistent with -n num. num is properly highlighted now as well.
This commit is contained in:
		
							
								
								
									
										15
									
								
								head.1
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								head.1
									
									
									
									
									
								
							| @@ -1,4 +1,4 @@ | |||||||
| .Dd January 25, 2015 | .Dd March 5, 2015 | ||||||
| .Dt HEAD 1 | .Dt HEAD 1 | ||||||
| .Os sbase | .Os sbase | ||||||
| .Sh NAME | .Sh NAME | ||||||
| @@ -6,15 +6,12 @@ | |||||||
| .Nd display initial lines of files | .Nd display initial lines of files | ||||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||||
| .Nm | .Nm | ||||||
| .Op Fl n Ar num | .Op Fl n Ar num | Fl Ns Ar num | ||||||
| .Op Fl N |  | ||||||
| .Op Ar file ... | .Op Ar file ... | ||||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||||
| .Nm | .Nm | ||||||
| writes | writes | ||||||
| .Ar num | .Ar num | ||||||
| | |  | ||||||
| .Sy N |  | ||||||
| lines of each | lines of each | ||||||
| .Ar file | .Ar file | ||||||
| to stdout. | to stdout. | ||||||
| @@ -25,7 +22,7 @@ is given | |||||||
| reads from stdin. | reads from stdin. | ||||||
| .Sh OPTIONS | .Sh OPTIONS | ||||||
| .Bl -tag -width Ds | .Bl -tag -width Ds | ||||||
| .It Fl n Ar num | Fl N | .It Fl n Ar num | Fl Ns Ar num | ||||||
| Display initial | Display initial | ||||||
| .Ar num | .Ar num | ||||||
| | | | | ||||||
| @@ -41,6 +38,6 @@ utility is compliant with the | |||||||
| .St -p1003.1-2008 | .St -p1003.1-2008 | ||||||
| specification. | specification. | ||||||
| .Pp | .Pp | ||||||
| The | The obsolete | ||||||
| .Op Fl N | .Op Fl Ns num | ||||||
| flag is an extension to that specification. | syntax is an extension to that specification. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user