From 3e98fe46a24d8231ed5f962f5b874032e4994f08 Mon Sep 17 00:00:00 2001 From: m-holger Date: Mon, 7 Feb 2022 13:07:09 +0000 Subject: 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. --- examples/qtest/bookmarks.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/qtest/bookmarks.test') 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); -- cgit v1.2.3-54-g00ecf