Dash in name of a manual page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Branden,

Let's say I write the manual page for git-diff(1).
The file name is <man1/git-diff.1>.

In TH, should I use \- or just -?

	.TH git\-diff 1 2024-06-19 git
	.TH git-diff 1 2024-06-19 git

How about SH Name?

	.SH Name
	git\-diff \- Show changes between commits, commit and working tree, etc

	.SH Name
	git-diff \- Show changes between commits, commit and working tree, etc

I'm worried especially about the Name section, in case that \-
interferes with man-db.

Cheers,
Alex	

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux