mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
pdf: Alphabetize options
This commit is contained in:
parent
afb99a67b2
commit
16c1a6a447
1 changed files with 3 additions and 3 deletions
|
@ -85,12 +85,12 @@ static PDF::PDFErrorOr<int> pdf_main(Main::Arguments arguments)
|
|||
StringView in_path;
|
||||
args_parser.add_positional_argument(in_path, "Path to input image file", "FILE");
|
||||
|
||||
StringView render_path;
|
||||
args_parser.add_option(render_path, "Path to render a PDF page to", "render", {}, "PNG FILE");
|
||||
|
||||
u32 page_number = 1;
|
||||
args_parser.add_option(page_number, "Page number (1-based)", "page", {}, "PAGE");
|
||||
|
||||
StringView render_path;
|
||||
args_parser.add_option(render_path, "Path to render a PDF page to", "render", {}, "PNG FILE");
|
||||
|
||||
args_parser.parse(arguments);
|
||||
|
||||
auto file = TRY(Core::MappedFile::map(in_path));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue