Date: Tue, 11 Feb 2003 11:28:01 +0100 From: Roman Neuhauser <neuhauser@bellavista.cz> To: freebsd-hackers <freebsd-hackers@FreeBSD.ORG> Subject: Re: mdoc(7) question Message-ID: <20030211102801.GI393@freepuppy.bellavista.cz> In-Reply-To: <20030210222412.GA33990@gothmog.gr> <20030210181744.GN5356@dan.emsphone.com> References: <20030210173051.GF393@freepuppy.bellavista.cz> <20030210222412.GA33990@gothmog.gr> <20030210173051.GF393@freepuppy.bellavista.cz> <20030210181744.GN5356@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
# dnelson@allantgroup.com / 2003-02-10 12:17:44 -0600: > In the last episode (Feb 10), Roman Neuhauser said: > > I'm writing a man page for a utility I'm writing, and I want the option > > listing look like this: > > > > OPTIONS > > -h, --help > > Print a brief help message. > > > > -n, --dry-run > > Don't actually connect to the server. DDL generated by mktable.php > > is output on stdout. > > > > -H, --host=host > > Connect to server on host. > > > This is what I have right now: > > > > .Sh OPTIONS > > .Bl -ohang -compact > > Try .Bl -tag -width "indent" here instead. That creates a list with > "tags" or headers, and the description indented by the width of the > word "indent". # keramida@ceid.upatras.gr / 2003-02-11 00:24:12 +0200: > How about this? > > Here is a list: > .Bl -tag -width indent > .It Fl h , Fl \-help > Option description here. > .It Fl p , Fl \-print > Option description here. > .El Thanks guys. Is there a clean way to make sure that the description will always begin on the line below the tag line? IOW, with .Bl -tag, if the actual tag width is less than that of -width's argument, these two items will fold, and description will begin on the tag line. That's not what I want. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030211102801.GI393>