From 7ffbcccbf328264b7cb8a82438831786f2b553c0 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 13 Mar 2009 10:51:56 +0000 Subject: Don't use macros for the synopsis. Improve markup to break argument groups together by not splitting opening and closing macro over lines. --- usr.bin/cksum/cksum.1 | 62 +++++++++++++++++++++------------------------------ 1 file changed, 25 insertions(+), 37 deletions(-) diff --git a/usr.bin/cksum/cksum.1 b/usr.bin/cksum/cksum.1 index 84a274c66a6..0131905b29f 100644 --- a/usr.bin/cksum/cksum.1 +++ b/usr.bin/cksum/cksum.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: cksum.1,v 1.41 2009/01/02 09:42:51 lukem Exp $ +.\" $NetBSD: cksum.1,v 1.42 2009/03/13 10:51:56 joerg Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -45,48 +45,36 @@ .Nm sum .Nd display file checksums and block counts .Sh SYNOPSIS -. -.de fileargs -. Oo -. Ar -| -. Fl c -. Op Fl w -. Op Ar sumfile -. Oc -.. -. -.de sumargs -. Op Fl n -. Oo -. Fl a Ar algorithm -. Op Fl ptx -. Op Fl s Ar string -. Oc -. Op Fl o Ar 1 Ns | Ns Ar 2 -. fileargs -.. -. -.de hashargs -. Op Fl nptx -. Op Fl s Ar string -. fileargs -.. -. -.Nm -.sumargs +.Nm cksum +.Op Fl n +.Op Fl a Ar algorithm Oo Fl ptx Oc Oo Fl s Ar string Oc +.Op Fl o Ar 1 Ns | Ns Ar 2 +.Op Ar Li \&| Fl c Oo Fl w Oc Oo Ar sumfile Oc .Nm sum -.sumargs +.Op Fl n +.Op Fl a Ar algorithm Oo Fl ptx Oc Oo Fl s Ar string Oc +.Op Fl o Ar 1 Ns | Ns Ar 2 +.Op Ar Li \&| Fl c Oo Fl w Oc Oo Ar sumfile Oc .Nm md2 -.hashargs +.Op Fl nptx +.Op Fl s Ar string +.Op Ar Li \&| Fl c Oo Fl w Oc Oo Ar sumfile Oc .Nm md4 -.hashargs +.Op Fl nptx +.Op Fl s Ar string +.Op Ar Li \&| Fl c Oo Fl w Oc Oo Ar sumfile Oc .Nm md5 -.hashargs +.Op Fl nptx +.Op Fl s Ar string +.Op Ar Li \&| Fl c Oo Fl w Oc Oo Ar sumfile Oc .Nm rmd160 -.hashargs +.Op Fl nptx +.Op Fl s Ar string +.Op Ar Li \&| Fl c Oo Fl w Oc Oo Ar sumfile Oc .Nm sha1 -.hashargs +.Op Fl nptx +.Op Fl s Ar string +.Op Ar Li \&| Fl c Oo Fl w Oc Oo Ar sumfile Oc .Sh DESCRIPTION The .Nm -- cgit