diff options
author | jmc <> | 2016-07-21 18:40:26 +0000 |
---|---|---|
committer | jmc <> | 2016-07-21 18:40:26 +0000 |
commit | 19ca3b9007a7bb3009dc08425ecf1d910a8b16aa (patch) | |
tree | e2f526a90b5cc293a3918b03bb8a275cd4aa7955 | |
parent | d5ebd1983c23aa73285bd4bb20d037e9c4750168 (diff) | |
download | openbsd-19ca3b9007a7bb3009dc08425ecf1d910a8b16aa.tar.gz openbsd-19ca3b9007a7bb3009dc08425ecf1d910a8b16aa.tar.bz2 openbsd-19ca3b9007a7bb3009dc08425ecf1d910a8b16aa.zip |
rework DESCRIPTION a little: no-command seems clearer than no-XXX;
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/openssl.1 | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1 index d93a19b91d..047c3a186e 100644 --- a/src/usr.bin/openssl/openssl.1 +++ b/src/usr.bin/openssl/openssl.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: openssl.1,v 1.38 2016/07/21 18:33:27 jmc Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.39 2016/07/21 18:40:26 jmc Exp $ |
2 | .\" ==================================================================== | 2 | .\" ==================================================================== |
3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -133,8 +133,7 @@ | |||
133 | .Cm list-public-key-algorithms | 133 | .Cm list-public-key-algorithms |
134 | .Pp | 134 | .Pp |
135 | .Nm | 135 | .Nm |
136 | .Cm no- Ns Ar XXX | 136 | .Cm no- Ns Ar command |
137 | .Op Ar arbitrary options | ||
138 | .Sh DESCRIPTION | 137 | .Sh DESCRIPTION |
139 | .Nm OpenSSL | 138 | .Nm OpenSSL |
140 | is a cryptography toolkit implementing the | 139 | is a cryptography toolkit implementing the |
@@ -147,7 +146,7 @@ The | |||
147 | .Nm | 146 | .Nm |
148 | program is a command line tool for using the various | 147 | program is a command line tool for using the various |
149 | cryptography functions of | 148 | cryptography functions of |
150 | .Nm OpenSSL Ns 's | 149 | .Nm openssl Ns 's |
151 | crypto library from the shell. | 150 | crypto library from the shell. |
152 | .Pp | 151 | .Pp |
153 | The pseudo-commands | 152 | The pseudo-commands |
@@ -176,22 +175,18 @@ The pseudo-command | |||
176 | lists all supported public key algorithms. | 175 | lists all supported public key algorithms. |
177 | .Pp | 176 | .Pp |
178 | The pseudo-command | 177 | The pseudo-command |
179 | .Cm no- Ns Ar XXX | 178 | .Cm no- Ns Ar command |
180 | tests whether a command of the | 179 | tests whether a command of the |
181 | specified name is available. | 180 | specified name is available. |
182 | If no command named | 181 | If |
183 | .Ar XXX | 182 | .Ar command |
184 | exists, | 183 | does not exist, |
185 | it returns 0 | 184 | it returns 0 |
186 | .Pq success | ||
187 | and prints | 185 | and prints |
188 | .Cm no- Ns Ar XXX ; | 186 | .Cm no- Ns Ar command ; |
189 | otherwise it returns 1 and prints | 187 | otherwise it returns 1 and prints |
190 | .Ar XXX . | 188 | .Ar command . |
191 | In both cases, the output goes to | 189 | In both cases, the output goes to stdout and nothing is printed to stderr. |
192 | .Em stdout | ||
193 | and nothing is printed to | ||
194 | .Em stderr . | ||
195 | Additional command line arguments are always ignored. | 190 | Additional command line arguments are always ignored. |
196 | Since for each cipher there is a command of the same name, | 191 | Since for each cipher there is a command of the same name, |
197 | this provides an easy way for shell scripts to test for the | 192 | this provides an easy way for shell scripts to test for the |
@@ -200,12 +195,12 @@ availability of ciphers in the | |||
200 | program. | 195 | program. |
201 | .Pp | 196 | .Pp |
202 | .Sy Note : | 197 | .Sy Note : |
203 | .Cm no- Ns Ar XXX | 198 | .Cm no- Ns Ar command |
204 | is not able to detect pseudo-commands such as | 199 | is not able to detect pseudo-commands such as |
205 | .Cm quit , | 200 | .Cm quit , |
206 | .Cm list- Ns Ar ... Ns Cm -commands , | 201 | .Cm list- Ns Ar ... Ns Cm -commands , |
207 | or | 202 | or |
208 | .Cm no- Ns Ar XXX | 203 | .Cm no- Ns Ar command |
209 | itself. | 204 | itself. |
210 | .Sh ASN1PARSE | 205 | .Sh ASN1PARSE |
211 | .nr nS 1 | 206 | .nr nS 1 |