GH628: Add -help to all apps docs.
[openssl.git] / doc / apps / asn1parse.pod
index 5acea8cfc5df3031dbf7e29ba5eec3332d809bc2..fdaae40d8b291774d94af7875497d73067b681fd 100644 (file)
@@ -7,6 +7,7 @@ asn1parse - ASN.1 parsing tool
 =head1 SYNOPSIS
 
 B<openssl> B<asn1parse>
+[B<-help>]
 [B<-inform PEM|DER>]
 [B<-in filename>]
 [B<-out filename>]
@@ -15,6 +16,8 @@ B<openssl> B<asn1parse>
 [B<-length number>]
 [B<-i>]
 [B<-oid filename>]
+[B<-dump>]
+[B<-dlimit num>]
 [B<-strparse offset>]
 [B<-genstr string>]
 [B<-genconf file>]
@@ -29,6 +32,10 @@ structures. It can also be used to extract data from ASN.1 formatted data.
 
 =over 4
 
+=item B<-help>
+
+Print out a usage message.
+
 =item B<-inform> B<DER|PEM>
 
 the input format. B<DER> is binary format and B<PEM> (the default) is base64
@@ -65,6 +72,14 @@ indents the output according to the "depth" of the structures.
 a file containing additional OBJECT IDENTIFIERs (OIDs). The format of this
 file is described in the NOTES section below.
 
+=item B<-dump>
+
+dump unknown data in hex format.
+
+=item B<-dlimit num>
+
+like B<-dump>, but only the first B<num> bytes are output.
+
 =item B<-strparse offset>
 
 parse the contents octets of the ASN.1 object starting at B<offset>. This
@@ -73,7 +88,7 @@ option can be used multiple times to "drill down" into a nested structure.
 =item B<-genstr string>, B<-genconf file>
 
 generate encoded data based on B<string>, B<file> or both using
-L<ASN1_generate_nconf(3)|ASN1_generate_nconf(3)> format. If B<file> only is
+L<ASN1_generate_nconf(3)> format. If B<file> only is
 present then the string is obtained from the default section using the name
 B<asn1>. The encoded data is passed through the ASN1 parser and printed out as
 though it came from a file, the contents can thus be examined and written to a
@@ -179,6 +194,6 @@ ASN.1 types is not well handled (if at all).
 
 =head1 SEE ALSO
 
-L<ASN1_generate_nconf(3)|ASN1_generate_nconf(3)>
+L<ASN1_generate_nconf(3)>
 
 =cut