From: jmc Date: Wed, 8 Jan 2014 16:12:44 +0000 (+0000) Subject: sort options; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=08e960652737ae3b603778d5066e37fe4fa9943c;p=openbsd sort options; --- diff --git a/bin/md5/cksum.1 b/bin/md5/cksum.1 index b6993761de3..17d435a1f3e 100644 --- a/bin/md5/cksum.1 +++ b/bin/md5/cksum.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cksum.1,v 1.26 2014/01/08 14:15:54 deraadt Exp $ +.\" $OpenBSD: cksum.1,v 1.27 2014/01/08 16:12:44 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -45,8 +45,8 @@ .Op Fl bpqrtx .Op Fl a Ar algorithms .Op Fl c Op Ar checklist ... -.Op Fl o Ar 1 | 2 .Op Fl h Ar hashfile +.Op Fl o Ar 1 | 2 .Op Fl s Ar string .Op Ar .Ek @@ -54,8 +54,8 @@ .Op Fl bpqrtx .Op Fl a Ar algorithms .Op Fl c Op Ar checklist ... -.Op Fl o Ar 1 | 2 .Op Fl h Ar hashfile +.Op Fl o Ar 1 | 2 .Op Fl s Ar string .Op Ar .Sh DESCRIPTION @@ -165,6 +165,10 @@ The option may not be used in conjunction with more than a single .Fl a option. +.It Fl h Ar hashfile +Place the checksum into +.Ar hashfile +instead of stdout. .It Fl o Ar 1 | 2 Use historic algorithms instead of the (superior) default one (see below). @@ -178,10 +182,6 @@ flag, only print the failed cases. .It Fl r Reverse the format of the hash algorithm output, making it match the checksum output format. -.It Fl h Ar hashfile -Place the checksum into -.Ar hashfile -instead of stdout. .It Fl s Ar string Prints a checksum of the given .Ar string . diff --git a/bin/md5/md5.1 b/bin/md5/md5.1 index 199439a7ba3..3443e97ce4d 100644 --- a/bin/md5/md5.1 +++ b/bin/md5/md5.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: md5.1,v 1.35 2014/01/08 14:15:54 deraadt Exp $ +.\" $OpenBSD: md5.1,v 1.36 2014/01/08 16:12:44 jmc Exp $ .\" .\" Copyright (c) 2003, 2004, 2006 Todd C. Miller .\" @@ -61,6 +61,10 @@ and an OK or FAILED for the result of the comparison. This will validate any of the supported checksums (see .Xr cksum 1 ) . If no file is given, stdin is used. +.It Fl h Ar hashfile +Place the checksum into +.Ar hashfile +instead of stdout. .It Fl p Echoes stdin to stdout and appends the checksum to stdout. @@ -70,10 +74,6 @@ Only print the checksum (quiet mode). Reverse the format of the hash algorithm output, making it match the output format used by .Xr cksum 1 . -.It Fl h Ar hashfile -Place the checksum into -.Ar hashfile -instead of stdout. .It Fl s Ar string Prints a checksum of the given .Ar string . diff --git a/bin/md5/sha1.1 b/bin/md5/sha1.1 index 1b2ea80a861..87335a075b8 100644 --- a/bin/md5/sha1.1 +++ b/bin/md5/sha1.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.1,v 1.33 2014/01/08 14:15:54 deraadt Exp $ +.\" $OpenBSD: sha1.1,v 1.34 2014/01/08 16:12:44 jmc Exp $ .\" .\" Copyright (c) 2003, 2004, 2006 Todd C. Miller .\" @@ -62,6 +62,10 @@ and an OK or FAILED for the result of the comparison. This will validate any of the supported checksums (see .Xr cksum 1 ) . If no file is given, stdin is used. +.It Fl h Ar hashfile +Place the checksum into +.Ar hashfile +instead of stdout. .It Fl p Echoes stdin to stdout and appends the checksum to stdout. @@ -71,10 +75,6 @@ Only print the checksum (quiet mode). Reverse the format of the hash algorithm output, making it match the output format used by .Xr cksum 1 . -.It Fl h Ar hashfile -Place the checksum into -.Ar hashfile -instead of stdout. .It Fl s Ar string Prints a checksum of the given .Ar string . diff --git a/bin/md5/sha256.1 b/bin/md5/sha256.1 index 9701aa9159c..37cb5406f5a 100644 --- a/bin/md5/sha256.1 +++ b/bin/md5/sha256.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha256.1,v 1.8 2014/01/08 14:15:54 deraadt Exp $ +.\" $OpenBSD: sha256.1,v 1.9 2014/01/08 16:12:44 jmc Exp $ .\" .\" Copyright (c) 2003, 2004, 2006 Todd C. Miller .\" @@ -68,6 +68,10 @@ and an OK or FAILED for the result of the comparison. This will validate any of the supported checksums (see .Xr cksum 1 ) . If no file is given, stdin is used. +.It Fl h Ar hashfile +Place the checksum into +.Ar hashfile +instead of stdout. .It Fl p Echoes stdin to stdout and appends the checksum to stdout. @@ -77,10 +81,6 @@ Only print the checksum (quiet mode). Reverse the format of the hash algorithm output, making it match the output format used by .Xr cksum 1 . -.It Fl h Ar hashfile -Place the checksum into -.Ar hashfile -instead of stdout. .It Fl s Ar string Prints a checksum of the given .Ar string .