mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-31 14:01:59 +00:00
Fix command-line parsing for --rotate
This commit is contained in:
parent
3ef1be9783
commit
cbb2614975
@ -1337,6 +1337,11 @@ static void parse_options(int argc, char* argv[], Options& o)
|
||||
}
|
||||
else if (strcmp(arg, "rotate") == 0)
|
||||
{
|
||||
if (parameter == 0)
|
||||
{
|
||||
usage("--rotate must be given as"
|
||||
" --rotate=[+|-]angle:page-range");
|
||||
}
|
||||
parse_rotation_parameter(o, parameter);
|
||||
}
|
||||
else if (strcmp(arg, "stream-data") == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user