- insecure
- key
Example:
- - --knownhost filename --key here $URL
+ - --knownhosts filename --key here $URL
---
# `--knownhosts`
if($examples[0]) {
my $s ="";
$s="s" if($examples[1]);
+ foreach my $e (@examples) {
+ my $check = $e;
+ # verify the used options
+ for my $e (split(/ /, $check)) {
+ if($e =~ /^-([^- ])/) {
+ my $opt = $1;
+ if(!$optshort{$opt}) {
+ print STDERR "$f:$line:1:ERROR: unknown option in ".
+ "example: -$opt\n";
+ return 2;
+ }
+ }
+ elsif($e =~ /^--([^ =]*)/) {
+ my $opt = $1;
+ $opt =~ s/^expand-//g;
+ if(!$helplong{$opt}) {
+ print STDERR "$f:$line:1:ERROR: unknown option in ".
+ "example: '--$opt'\n";
+ return 2;
+ }
+ }
+ }
+ }
if($manpage) {
print "\nExample$s:\n";
print ".nf\n";
- trace
- trace-ascii
Example:
- - --verbose $URL
+ - --fakeitreal $URL
---
# `--verbose`
Example:
.nf
-curl --verbose https://example.com
+curl --fakeitreal https://example.com
.fi
This option is mutually exclusive with \fI\-\-trace\fP and \fI\-\-trace\-ascii\fP.
- trace
- trace-ascii
Example:
- - --verbose $URL
+ - --fakeitreal $URL
---
# `--verbose`
effect. Disable it again with --no-fakeitreal.
Example:
- curl --verbose https://example.com
+ curl --fakeitreal https://example.com
This option is mutually exclusive with --trace and --trace-ascii.
See also --include, --silent, --trace and --trace-ascii.