summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-01-08 16:12:45 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-01-08 16:12:45 +0000
commita65a35ee2c7f8f2cb858f171b5cc3126f0fc55af (patch)
tree462537f729561cb85ee41f6a123fe5446afae9bc /bin
parent41a06da698ed395f5e8d4ec2a3d7a2b9d4a75224 (diff)
sort options;
Diffstat (limited to 'bin')
-rw-r--r--bin/md5/cksum.114
-rw-r--r--bin/md5/md5.110
-rw-r--r--bin/md5/sha1.110
-rw-r--r--bin/md5/sha256.110
4 files changed, 22 insertions, 22 deletions
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 <Todd.Miller@courtesan.com>
.\"
@@ -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 <Todd.Miller@courtesan.com>
.\"
@@ -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 <Todd.Miller@courtesan.com>
.\"
@@ -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 .