From owner-freebsd-hackers Tue Feb 11 2:28: 6 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 209C237B401 for ; Tue, 11 Feb 2003 02:28:05 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D73B443FAF for ; Tue, 11 Feb 2003 02:28:02 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 1A9AB4A4 for ; Tue, 11 Feb 2003 11:28:02 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id D25CF2FDC1F; Tue, 11 Feb 2003 11:28:01 +0100 (CET) Date: Tue, 11 Feb 2003 11:28:01 +0100 From: Roman Neuhauser To: freebsd-hackers Subject: Re: mdoc(7) question Message-ID: <20030211102801.GI393@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-hackers References: <20030210173051.GF393@freepuppy.bellavista.cz> <20030210222412.GA33990@gothmog.gr> <20030210173051.GF393@freepuppy.bellavista.cz> <20030210181744.GN5356@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030210222412.GA33990@gothmog.gr> <20030210181744.GN5356@dan.emsphone.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # 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