doc/man1: fix malformed options
authorRichard Levitte <levitte@openssl.org>
Wed, 2 Oct 2019 15:13:03 +0000 (17:13 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 2 Oct 2019 17:26:24 +0000 (19:26 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10073)

15 files changed:
doc/man1/openssl-cms.pod
doc/man1/openssl-dgst.pod
doc/man1/openssl-enc.pod
doc/man1/openssl-genpkey.pod
doc/man1/openssl-ocsp.pod
doc/man1/openssl-pkcs8.pod
doc/man1/openssl-pkey.pod
doc/man1/openssl-req.pod
doc/man1/openssl-rsautl.pod
doc/man1/openssl-s_server.pod
doc/man1/openssl-smime.pod
doc/man1/openssl-storeutl.pod
doc/man1/openssl-ts.pod
doc/man1/openssl-verify.pod
doc/man1/openssl-x509.pod

index 36b075c6556c751b0a60fdac75263ec25f5a6ed4..d50a5d0efebb35c3dc8d163ef50ab0af884c87b9 100644 (file)
@@ -70,7 +70,7 @@ B<openssl> B<cms>
 [B<-verify_name> I<name>]
 [B<-x509_strict>]
 [B<-md> I<digest>]
 [B<-verify_name> I<name>]
 [B<-x509_strict>]
 [B<-md> I<digest>]
-[B<->I<cipher>]
+[B<-I<cipher>>]
 [B<-nointern>]
 [B<-noverify>]
 [B<-nocerts>]
 [B<-nointern>]
 [B<-noverify>]
 [B<-nocerts>]
@@ -309,7 +309,7 @@ Do not load the trusted CA certificates from the default directory location
 Digest algorithm to use when signing or resigning. If not present then the
 default digest algorithm for the signing key will be used (usually SHA1).
 
 Digest algorithm to use when signing or resigning. If not present then the
 default digest algorithm for the signing key will be used (usually SHA1).
 
-=item B<->I<cipher>
+=item B<-I<cipher>>
 
 The encryption algorithm to use. For example triple DES (168 bits) - B<-des3>
 or 256 bit AES - B<-aes256>. Any standard algorithm name (as used by the
 
 The encryption algorithm to use. For example triple DES (168 bits) - B<-des3>
 or 256 bit AES - B<-aes256>. Any standard algorithm name (as used by the
index d9319e5697223b353f836494fa239caed719bffa..c6e2b21b8e7af585a627a03e1bc1614a81af05de 100644 (file)
@@ -7,7 +7,7 @@ openssl-dgst - perform digest operations
 =head1 SYNOPSIS
 
 B<openssl dgst>
 =head1 SYNOPSIS
 
 B<openssl dgst>
-[B<->I<digest>]
+[B<-I<digest>>]
 [B<-help>]
 [B<-c>]
 [B<-d>]
 [B<-help>]
 [B<-c>]
 [B<-d>]
@@ -52,7 +52,7 @@ command.
 
 Print out a usage message.
 
 
 Print out a usage message.
 
-=item B<->I<digest>
+=item B<-I<digest>>
 
 Specifies name of a supported digest to be used. To see the list of
 supported digests, use the command C<list --digest-commands>.
 
 Specifies name of a supported digest to be used. To see the list of
 supported digests, use the command C<list --digest-commands>.
index d0f876949a573c66e01e08f651425a3589f38a75..498df90b1fd8a55bb8b81c2cc1802cc2b7d65c09 100644 (file)
@@ -7,7 +7,7 @@ openssl-enc - symmetric cipher routines
 =head1 SYNOPSIS
 
 B<openssl>
 =head1 SYNOPSIS
 
 B<openssl>
-[B<->I<cipher>]
+[B<-I<cipher>>]
 [B<-help>]
 [B<-ciphers>]
 [B<-in> I<filename>]
 [B<-help>]
 [B<-ciphers>]
 [B<-in> I<filename>]
index 61390777f48fde63506e4310a00d5c1f719aa8b8..085f7cb4f86a24c8c08160a842271cc272bf3146 100644 (file)
@@ -11,7 +11,7 @@ B<openssl> B<genpkey>
 [B<-out> I<filename>]
 [B<-outform> B<DER>|B<PEM>]
 [B<-pass> I<arg>]
 [B<-out> I<filename>]
 [B<-outform> B<DER>|B<PEM>]
 [B<-pass> I<arg>]
-[B<->I<cipher>]
+[B<-I<cipher>>]
 [B<-engine> I<id>]
 [B<-paramfile> I<file>]
 [B<-algorithm> I<alg>]
 [B<-engine> I<id>]
 [B<-paramfile> I<file>]
 [B<-algorithm> I<alg>]
@@ -47,7 +47,7 @@ This specifies the output format DER or PEM. The default format is PEM.
 The output file password source. For more information about the format of B<arg>
 see L<openssl(1)/Pass phrase options>.
 
 The output file password source. For more information about the format of B<arg>
 see L<openssl(1)/Pass phrase options>.
 
-=item B<->I<cipher>
+=item B<-I<cipher>>
 
 This option encrypts the private key with the supplied cipher. Any algorithm
 name accepted by EVP_get_cipherbyname() is acceptable such as B<des3>.
 
 This option encrypts the private key with the supplied cipher. Any algorithm
 name accepted by EVP_get_cipherbyname() is acceptable such as B<des3>.
index dc66134e3628f2e405f208d5af073b67f30f9732..726020ffa51068ab44a410bb98f0e30f8d1cb4aa 100644 (file)
@@ -88,7 +88,7 @@ B<openssl> B<ocsp>
 [B<-resp_key_id>]
 [B<-nrequest> I<n>]
 [B<-rcid> I<digest>]
 [B<-resp_key_id>]
 [B<-nrequest> I<n>]
 [B<-rcid> I<digest>]
-[B<->I<digest>]
+[B<-I<digest>>]
 
 =for comment ifdef multi
 
 
 =for comment ifdef multi
 
@@ -312,7 +312,7 @@ This option sets the digest algorithm to use for certificate identification
 in the OCSP response. Any digest supported by the OpenSSL B<dgst> command can
 be used. The default is the same digest algorithm used in the request.
 
 in the OCSP response. Any digest supported by the OpenSSL B<dgst> command can
 be used. The default is the same digest algorithm used in the request.
 
-=item B<->I<digest>
+=item B<-I<digest>>
 
 This option sets digest algorithm to use for certificate identification in the
 OCSP request. Any digest supported by the OpenSSL B<dgst> command can be used.
 
 This option sets digest algorithm to use for certificate identification in the
 OCSP request. Any digest supported by the OpenSSL B<dgst> command can be used.
index 99299f10447a8d5fced3023570d6defcc8dabc14..e1cc0b38a5352e16b62a2d7d582bc54b510e5258 100644 (file)
@@ -21,9 +21,9 @@ B<openssl> B<pkcs8>
 [B<-writerand> I<file>]
 [B<-nocrypt>]
 [B<-traditional>]
 [B<-writerand> I<file>]
 [B<-nocrypt>]
 [B<-traditional>]
-[B<-v2 alg>]
-[B<-v2prf alg>]
-[B<-v1 alg>]
+[B<-v2> I<alg>]
+[B<-v2prf> I<alg>]
+[B<-v1> I<alg>]
 [B<-engine> I<id>]
 [B<-scrypt>]
 [B<-scrypt_N> I<N>]
 [B<-engine> I<id>]
 [B<-scrypt>]
 [B<-scrypt_N> I<N>]
@@ -118,7 +118,7 @@ all others.
 Writes random data to the specified I<file> upon exit.
 This can be used with a subsequent B<-rand> flag.
 
 Writes random data to the specified I<file> upon exit.
 This can be used with a subsequent B<-rand> flag.
 
-=item B<-v2 alg>
+=item B<-v2> I<alg>
 
 This option sets the PKCS#5 v2.0 algorithm.
 
 
 This option sets the PKCS#5 v2.0 algorithm.
 
@@ -126,7 +126,7 @@ The B<alg> argument is the encryption algorithm to use, valid values include
 B<aes128>, B<aes256> and B<des3>. If this option isn't specified then B<aes256>
 is used.
 
 B<aes128>, B<aes256> and B<des3>. If this option isn't specified then B<aes256>
 is used.
 
-=item B<-v2prf alg>
+=item B<-v2prf> I<alg>
 
 This option sets the PRF algorithm to use with PKCS#5 v2.0. A typical value
 value would be B<hmacWithSHA256>. If this option isn't set then the default
 
 This option sets the PRF algorithm to use with PKCS#5 v2.0. A typical value
 value would be B<hmacWithSHA256>. If this option isn't set then the default
@@ -135,7 +135,7 @@ for the cipher is used or B<hmacWithSHA256> if there is no default.
 Some implementations may not support custom PRF algorithms and may require
 the B<hmacWithSHA1> option to work.
 
 Some implementations may not support custom PRF algorithms and may require
 the B<hmacWithSHA1> option to work.
 
-=item B<-v1 alg>
+=item B<-v1> I<alg>
 
 This option indicates a PKCS#5 v1.5 or PKCS#12 algorithm should be used.  Some
 older implementations may not support PKCS#5 v2.0 and may require this option.
 
 This option indicates a PKCS#5 v1.5 or PKCS#12 algorithm should be used.  Some
 older implementations may not support PKCS#5 v2.0 and may require this option.
index fa9ea11f9ca7f1ea1872af4075f8a6193386892c..ea64ecff60f18d1060d18c3794426d8f9beccbe6 100644 (file)
@@ -15,7 +15,7 @@ B<openssl> B<pkey>
 [B<-out> I<filename>]
 [B<-passout> I<arg>]
 [B<-traditional>]
 [B<-out> I<filename>]
 [B<-passout> I<arg>]
 [B<-traditional>]
-[B<->I<cipher>]
+[B<-I<cipher>>]
 [B<-text>]
 [B<-text_pub>]
 [B<-noout>]
 [B<-text>]
 [B<-text_pub>]
 [B<-noout>]
@@ -78,7 +78,7 @@ Normally a private key is written using standard format: this is PKCS#8 form
 with the appropriate encryption algorithm (if any). If the B<-traditional>
 option is specified then the older "traditional" format is used instead.
 
 with the appropriate encryption algorithm (if any). If the B<-traditional>
 option is specified then the older "traditional" format is used instead.
 
-=item B<->I<cipher>
+=item B<-I<cipher>>
 
 These options encrypt the private key with the supplied cipher. Any algorithm
 name accepted by EVP_get_cipherbyname() is acceptable such as B<des3>.
 
 These options encrypt the private key with the supplied cipher. Any algorithm
 name accepted by EVP_get_cipherbyname() is acceptable such as B<des3>.
index 70d121360ad2381def0cedc60cd4652f5714ccf7..e010e00f018cdedd264f7e04b1aa853def6dc03c 100644 (file)
@@ -29,7 +29,7 @@ B<openssl> B<req>
 [B<-keyform> B<DER>|B<PEM>]
 [B<-keyout> I<filename>]
 [B<-keygen_engine> I<id>]
 [B<-keyform> B<DER>|B<PEM>]
 [B<-keyout> I<filename>]
 [B<-keygen_engine> I<id>]
-[B<-> I<digest>]
+[B<-I<digest>>]
 [B<-config> I<filename>]
 [B<-multivalue-rdn>]
 [B<-x509>]
 [B<-config> I<filename>]
 [B<-multivalue-rdn>]
 [B<-x509>]
@@ -209,7 +209,7 @@ configuration file is used.
 If this option is specified then if a private key is created it
 will not be encrypted.
 
 If this option is specified then if a private key is created it
 will not be encrypted.
 
-=item B<->I<digest>
+=item B<-I<digest>>
 
 This specifies the message digest to sign the request.
 Any digest supported by the OpenSSL B<dgst> command can be used.
 
 This specifies the message digest to sign the request.
 Any digest supported by the OpenSSL B<dgst> command can be used.
index 21220662705679645c94849c35b74cf07a4cfd0a..fccd7a1ad79c3d961ad8b3e8b50a2bd4fa2ce9dc 100644 (file)
@@ -97,7 +97,7 @@ all others.
 Writes random data to the specified I<file> upon exit.
 This can be used with a subsequent B<-rand> flag.
 
 Writes random data to the specified I<file> upon exit.
 This can be used with a subsequent B<-rand> flag.
 
-=item B<-pkcs, -oaep, -ssl, -raw>
+=item B<-pkcs>, B<-oaep>, B<-ssl>, B<-raw>
 
 The padding to use: PKCS#1 v1.5 (the default), PKCS#1 OAEP,
 special padding used in SSL v2 backwards compatible handshakes,
 
 The padding to use: PKCS#1 v1.5 (the default), PKCS#1 OAEP,
 special padding used in SSL v2 backwards compatible handshakes,
index df613311ed3323e9a2c723ede337639b455caa5b..69275ed9766179024a6018877f22f3c153d6cdaa 100644 (file)
@@ -47,8 +47,8 @@ B<openssl> B<s_server>
 [B<-WWW>]
 [B<-servername>]
 [B<-servername_fatal>]
 [B<-WWW>]
 [B<-servername>]
 [B<-servername_fatal>]
-[B<-cert2 infile>]
-[B<-key2 infile>]
+[B<-cert2> I<infile>]
+[B<-key2> I<infile>]
 [B<-tlsextdebug>]
 [B<-HTTP>]
 [B<-id_prefix> I<val>]
 [B<-tlsextdebug>]
 [B<-HTTP>]
 [B<-id_prefix> I<val>]
index b15baa2dc785e799d3ca3170b6b733bfb91f911e..dc4a5bcf2fc328167986bbe2ce1d8f717c9067ce 100644 (file)
@@ -16,7 +16,7 @@ B<openssl> B<smime>
 [B<-pk7out>]
 [B<-binary>]
 [B<-crlfeol>]
 [B<-pk7out>]
 [B<-binary>]
 [B<-crlfeol>]
-[B<->I<cipher>]
+[B<-I<cipher>>]
 [B<-in> I<file>]
 [B<-CAfile> I<file>]
 [B<-CApath> I<dir>]
 [B<-in> I<file>]
 [B<-CAfile> I<file>]
 [B<-CApath> I<dir>]
@@ -203,7 +203,7 @@ Do not load the trusted CA certificates from the default directory location.
 Digest algorithm to use when signing or resigning. If not present then the
 default digest algorithm for the signing key will be used (usually SHA1).
 
 Digest algorithm to use when signing or resigning. If not present then the
 default digest algorithm for the signing key will be used (usually SHA1).
 
-=item B<->I<cipher>
+=item B<-I<cipher>>
 
 The encryption algorithm to use. For example DES  (56 bits) - B<-des>,
 triple DES (168 bits) - B<-des3>,
 
 The encryption algorithm to use. For example DES  (56 bits) - B<-des>,
 triple DES (168 bits) - B<-des3>,
@@ -316,7 +316,7 @@ This can be used with a subsequent B<-rand> flag.
 One or more certificates of message recipients: used when encrypting
 a message.
 
 One or more certificates of message recipients: used when encrypting
 a message.
 
-=item B<-to, -from, -subject>
+=item B<-to>, B<-from>, B<-subject>
 
 The relevant mail headers. These are included outside the signed
 portion of a message so they may be included manually. If signing
 
 The relevant mail headers. These are included outside the signed
 portion of a message so they may be included manually. If signing
index efaa6f98b2379b03c5b6dde7ffe24601d41bab2d..fb292a3cf7f831c776193166d3901d72f002f6c1 100644 (file)
@@ -22,7 +22,7 @@ B<openssl> B<storeutl>
 [B<-serial> I<arg>]
 [B<-alias> I<arg>]
 [B<-fingerprint> I<arg>]
 [B<-serial> I<arg>]
 [B<-alias> I<arg>]
 [B<-fingerprint> I<arg>]
-[B<->I<digest>]
+[B<-I<digest>>]
 B<uri> ...
 
 =head1 DESCRIPTION
 B<uri> ...
 
 =head1 DESCRIPTION
@@ -106,7 +106,7 @@ Search for an object having the given alias.
 
 Search for an object having the given fingerprint.
 
 
 Search for an object having the given fingerprint.
 
-=item B<->I<digest>
+=item B<-I<digest>>
 
 The digest that was used to compute the fingerprint given with B<-fingerprint>.
 
 
 The digest that was used to compute the fingerprint given with B<-fingerprint>.
 
index ec1d296c94ae77fb63b0d0a8569b44dfff6bc2d1..0d65601a41b77a9221c769d129648ed51206dc06 100644 (file)
@@ -13,7 +13,7 @@ B<-query>
 [B<-config> I<configfile>]
 [B<-data> I<file_to_hash>]
 [B<-digest> I<digest_bytes>]
 [B<-config> I<configfile>]
 [B<-data> I<file_to_hash>]
 [B<-digest> I<digest_bytes>]
-[B<->I<digest>]
+[B<-I<digest>>]
 [B<-tspolicy> I<object_id>]
 [B<-no_nonce>]
 [B<-cert>]
 [B<-tspolicy> I<object_id>]
 [B<-no_nonce>]
 [B<-cert>]
@@ -29,7 +29,7 @@ B<-reply>
 [B<-passin> I<password_src>]
 [B<-signer> I<tsa_cert.pem>]
 [B<-inkey> I<file_or_id>]
 [B<-passin> I<password_src>]
 [B<-signer> I<tsa_cert.pem>]
 [B<-inkey> I<file_or_id>]
-[B<->I<digest>]
+[B<-I<digest>>]
 [B<-chain> I<certs_file.pem>]
 [B<-tspolicy> I<object_id>]
 [B<-in> I<response.tsr>]
 [B<-chain> I<certs_file.pem>]
 [B<-tspolicy> I<object_id>]
 [B<-in> I<response.tsr>]
@@ -167,7 +167,7 @@ per byte, the bytes optionally separated by colons (e.g. 1A:F6:01:... or
 1AF601...). The number of bytes must match the message digest algorithm
 in use. (Optional)
 
 1AF601...). The number of bytes must match the message digest algorithm
 in use. (Optional)
 
-=item B<->I<digest>
+=item B<-I<digest>>
 
 The message digest to apply to the data file.
 Any digest supported by the OpenSSL B<dgst> command can be used.
 
 The message digest to apply to the data file.
 Any digest supported by the OpenSSL B<dgst> command can be used.
@@ -260,7 +260,7 @@ B<signer_key> config file option. (Optional)
 If no engine is used, the argument is taken as a file; if an engine is
 specified, the argument is given to the engine as a key identifier.
 
 If no engine is used, the argument is taken as a file; if an engine is
 specified, the argument is given to the engine as a key identifier.
 
-=item B<->I<digest>
+=item B<-I<digest>>
 
 Signing digest to use. Overrides the B<signer_digest> config file
 option. (Mandatory unless specified in the config file)
 
 Signing digest to use. Overrides the B<signer_digest> config file
 option. (Mandatory unless specified in the config file)
@@ -461,7 +461,7 @@ command line option. (Optional)
 =item B<signer_digest>
 
 Signing digest to use. The same as the
 =item B<signer_digest>
 
 Signing digest to use. The same as the
-B<->I<digest> command line option. (Mandatory unless specified on the command
+B<-I<digest>> command line option. (Mandatory unless specified on the command
 line)
 
 =item B<default_policy>
 line)
 
 =item B<default_policy>
index 0635576c8700388ad207276ed9f368adf8198c3d..a83ffadc2280a63dfc8e7a64e3610f0ddc8585fe 100644 (file)
@@ -49,9 +49,9 @@ B<openssl> B<verify>
 [B<-verify_name> I<name>]
 [B<-x509_strict>]
 [B<-show_chain>]
 [B<-verify_name> I<name>]
 [B<-x509_strict>]
 [B<-show_chain>]
-[B<-sm2-id string>]
-[B<-sm2-hex-id hex-string>]
-[B<->]
+[B<-sm2-id> I<string>]
+[B<-sm2-hex-id> I<hex-string>]
+[B<-->]
 [certificates]
 
 =for comment ifdef engine sm2-id sm2-hex-id
 [certificates]
 
 =for comment ifdef engine sm2-id sm2-hex-id
@@ -329,7 +329,7 @@ required by the SM2 signature algorithm for signing and verification.
 Specify a binary ID string to use when signing or verifying using an SM2
 certificate. The argument for this option is string of hexadecimal digits.
 
 Specify a binary ID string to use when signing or verifying using an SM2
 certificate. The argument for this option is string of hexadecimal digits.
 
-=item B<->
+=item B<-->
 
 Indicates the last option. All arguments following this are assumed to be
 certificate files. This is useful if the first certificate filename begins
 
 Indicates the last option. All arguments following this are assumed to be
 certificate files. This is useful if the first certificate filename begins
index cb347151dab76cd8a21d150206244eedcb5b7858..e2a64fece1b1d8710225bba7631ce2f2be1fddc7 100644 (file)
@@ -58,7 +58,7 @@ B<openssl> B<x509>
 [B<-ext> I<extensions>]
 [B<-certopt> I<option>]
 [B<-C>]
 [B<-ext> I<extensions>]
 [B<-certopt> I<option>]
 [B<-C>]
-[B<->I<digest>]
+[B<-I<digest>>]
 [B<-clrext>]
 [B<-extfile> I<filename>]
 [B<-extensions> I<section>]
 [B<-clrext>]
 [B<-extfile> I<filename>]
 [B<-extensions> I<section>]
@@ -113,7 +113,7 @@ if this option is not specified.
 This specifies the output filename to write to or standard output by
 default.
 
 This specifies the output filename to write to or standard output by
 default.
 
-=item B<->I<digest>
+=item B<-I<digest>>
 
 The digest to use.
 This affects any signing or display option that uses a message
 
 The digest to use.
 This affects any signing or display option that uses a message