From owner-freebsd-hackers Mon Feb 10 9:31: 2 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 4737737B487 for ; Mon, 10 Feb 2003 09:30:54 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 070A243F93 for ; Mon, 10 Feb 2003 09:30:53 -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 348384A4 for ; Mon, 10 Feb 2003 18:30:52 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 56CEB2FDAB2; Mon, 10 Feb 2003 18:30:51 +0100 (CET) Date: Mon, 10 Feb 2003 18:30:51 +0100 From: Roman Neuhauser To: freebsd-hackers Subject: mdoc(7) question Message-ID: <20030210173051.GF393@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-hackers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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. The best I could achieve without resorting to (FMPOV) hacks was the same amount of indentation for the option, and the description: -H, --host=host Connect to server on host. what is the canonical way of doing this? BTW, I'm not happy with the way I got the vertical space between the options (with .Pp), but that might be my html background. Is this ok, or should I do it another way? This is what I have right now: .Sh OPTIONS .Bl -ohang -compact .It Fl h , Fl -help Print a brief help message. .Pp .It Fl n , Fl -dry-run Don't actually connect to the server. DDL generated by .Nm is output on stdout. .Pp .It Fl H , Fl -host Ns = Ns Ar host .br Connect to server on .Ar host . .Pp -- 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