mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
chres: Make screen an optional parameter
Most people have only one screen.
This commit is contained in:
parent
8cf348c14c
commit
1c69c686e3
1 changed files with 2 additions and 2 deletions
|
@ -10,14 +10,14 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int screen = -1;
|
||||
int screen = 0;
|
||||
int width = -1;
|
||||
int height = -1;
|
||||
int scale = -1;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Change the screen resolution.");
|
||||
args_parser.add_positional_argument(screen, "Screen", "screen");
|
||||
args_parser.add_option(screen, "Screen", "screen", 's', "screen");
|
||||
args_parser.add_positional_argument(width, "Width", "width");
|
||||
args_parser.add_positional_argument(height, "Height", "height");
|
||||
args_parser.add_positional_argument(scale, "Scale Factor", "scale", Core::ArgsParser::Required::No);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue