Added --prompt as a long opt for -p
This commit is contained in:
parent
436c1ad0cd
commit
0eb03b7adc
@ -57,7 +57,7 @@ static void print_usage(char** argv) {
|
|||||||
printf("--show\t\t-S\tSpecifies the mode to run in\n");
|
printf("--show\t\t-S\tSpecifies the mode to run in\n");
|
||||||
printf("--width\t\t-W\tSpecifies the surface width\n");
|
printf("--width\t\t-W\tSpecifies the surface width\n");
|
||||||
printf("--height\t-H\tSpecifies the surface height\n");
|
printf("--height\t-H\tSpecifies the surface height\n");
|
||||||
printf("\t\t-p\tPrompt to display\n");
|
printf("--prompt\t-p\tPrompt to display\n");
|
||||||
printf("--xoffset\t-x\tThe x offset\n");
|
printf("--xoffset\t-x\tThe x offset\n");
|
||||||
printf("--yoffset\t-y\tThe y offset\n");
|
printf("--yoffset\t-y\tThe y offset\n");
|
||||||
printf("--normal-window\t-n\tRender to a normal window\n");
|
printf("--normal-window\t-n\tRender to a normal window\n");
|
||||||
@ -230,6 +230,12 @@ int main(int argc, char** argv) {
|
|||||||
.flag = NULL,
|
.flag = NULL,
|
||||||
.val = 'H'
|
.val = 'H'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.name = "prompt",
|
||||||
|
.has_arg = required_argument,
|
||||||
|
.flag = NULL,
|
||||||
|
.val = 'p'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.name = "xoffset",
|
.name = "xoffset",
|
||||||
.has_arg = required_argument,
|
.has_arg = required_argument,
|
||||||
|
Loading…
Reference in New Issue
Block a user