aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest/bookmarks.test
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-02-07 14:07:09 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-02-07 18:49:24 +0100
commit3e98fe46a24d8231ed5f962f5b874032e4994f08 (patch)
tree724d540b2c7f1b0d5dcdb184b6a7dd01f3b2f319 /examples/qtest/bookmarks.test
parent4fd619818c30fb55b144675d3e5d2c83728e6976 (diff)
downloadqpdf-3e98fe46a24d8231ed5f962f5b874032e4994f08.tar.zst
Tidy example CLI usage
Change "-" to "--" for named parameters. Remove spaces inside "[ option ]" for optional parameters. Fix "pdf-mod-info --dump file" to match usage message.
Diffstat (limited to 'examples/qtest/bookmarks.test')
-rw-r--r--examples/qtest/bookmarks.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qtest/bookmarks.test b/examples/qtest/bookmarks.test
index 395357e3..cff8fc60 100644
--- a/examples/qtest/bookmarks.test
+++ b/examples/qtest/bookmarks.test
@@ -9,9 +9,9 @@ require TestDriver;
my $td = new TestDriver('pdf-bookmarks');
-foreach my $show ("", " -show-open")
+foreach my $show ("", " --show-open")
{
- foreach my $style ("", " -lines", " -numbers")
+ foreach my $style ("", " --lines", " --numbers")
{
my $xshow = $show ? $show : "x";
my $xstyle = $style ? $style : "x";
@@ -37,7 +37,7 @@ $td->runtest("bad",
$td->NORMALIZE_NEWLINES);
$td->runtest("encrypted, targets",
- {$td->COMMAND => "pdf-bookmarks -show-targets 4.pdf user"},
+ {$td->COMMAND => "pdf-bookmarks --show-targets 4.pdf user"},
{$td->FILE => "encrypted.out",
$td->EXIT_STATUS => 0},
$td->NORMALIZE_NEWLINES);