summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2016-07-21 18:40:26 +0000
committerjmc <jmc@openbsd.org>2016-07-21 18:40:26 +0000
commitd9df880be027e994420e204d473cd19061c0b29f (patch)
treed748bc36c406aece065c2c5211805396f88be2b1
parentrename NOTES to COMMON SYNTAX (explains itself better); rework the (diff)
downloadwireguard-openbsd-d9df880be027e994420e204d473cd19061c0b29f.tar.xz
wireguard-openbsd-d9df880be027e994420e204d473cd19061c0b29f.zip
rework DESCRIPTION a little: no-command seems clearer than no-XXX;
-rw-r--r--usr.bin/openssl/openssl.129
1 files changed, 12 insertions, 17 deletions
diff --git a/usr.bin/openssl/openssl.1 b/usr.bin/openssl/openssl.1
index d93a19b91d1..047c3a186e7 100644
--- a/usr.bin/openssl/openssl.1
+++ b/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openssl.1,v 1.38 2016/07/21 18:33:27 jmc Exp $
+.\" $OpenBSD: openssl.1,v 1.39 2016/07/21 18:40:26 jmc Exp $
.\" ====================================================================
.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
.\"
@@ -133,8 +133,7 @@
.Cm list-public-key-algorithms
.Pp
.Nm
-.Cm no- Ns Ar XXX
-.Op Ar arbitrary options
+.Cm no- Ns Ar command
.Sh DESCRIPTION
.Nm OpenSSL
is a cryptography toolkit implementing the
@@ -147,7 +146,7 @@ The
.Nm
program is a command line tool for using the various
cryptography functions of
-.Nm OpenSSL Ns 's
+.Nm openssl Ns 's
crypto library from the shell.
.Pp
The pseudo-commands
@@ -176,22 +175,18 @@ The pseudo-command
lists all supported public key algorithms.
.Pp
The pseudo-command
-.Cm no- Ns Ar XXX
+.Cm no- Ns Ar command
tests whether a command of the
specified name is available.
-If no command named
-.Ar XXX
-exists,
+If
+.Ar command
+does not exist,
it returns 0
-.Pq success
and prints
-.Cm no- Ns Ar XXX ;
+.Cm no- Ns Ar command ;
otherwise it returns 1 and prints
-.Ar XXX .
-In both cases, the output goes to
-.Em stdout
-and nothing is printed to
-.Em stderr .
+.Ar command .
+In both cases, the output goes to stdout and nothing is printed to stderr.
Additional command line arguments are always ignored.
Since for each cipher there is a command of the same name,
this provides an easy way for shell scripts to test for the
@@ -200,12 +195,12 @@ availability of ciphers in the
program.
.Pp
.Sy Note :
-.Cm no- Ns Ar XXX
+.Cm no- Ns Ar command
is not able to detect pseudo-commands such as
.Cm quit ,
.Cm list- Ns Ar ... Ns Cm -commands ,
or
-.Cm no- Ns Ar XXX
+.Cm no- Ns Ar command
itself.
.Sh ASN1PARSE
.nr nS 1