From owner-freebsd-hackers Mon Feb 10 10:17:47 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 E547F37B401 for ; Mon, 10 Feb 2003 10:17:45 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D43B43FA3 for ; Mon, 10 Feb 2003 10:17:45 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h1AIHivL038147 for freebsd-hackers@FreeBSD.ORG; Mon, 10 Feb 2003 12:17:44 -0600 (CST) (envelope-from dan) Date: Mon, 10 Feb 2003 12:17:44 -0600 From: Dan Nelson To: freebsd-hackers Subject: Re: mdoc(7) question Message-ID: <20030210181744.GN5356@dan.emsphone.com> References: <20030210173051.GF393@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030210173051.GF393@freepuppy.bellavista.cz> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i 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 In the last episode (Feb 10), Roman Neuhauser said: > Hi there, > > two quick mdoc(7) questions: > > 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". -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message