|
@@ -37,7 +37,7 @@ const char *gengetopt_args_info_help[] = {
|
37
|
37
|
" -h, --help Print help and exit",
|
38
|
38
|
" -V, --version Print version and exit",
|
39
|
39
|
"Options",
|
40
|
|
- " --xdisplay=hostname:number.screen_number\n Sets the x display. (default=`:0')",
|
|
40
|
+ " --xdisplay=hostname:number.screen_number\n Sets the x display.",
|
41
|
41
|
" --nokeyboard Disables the ability to cancel selections with\n the keyboard. (default=off)",
|
42
|
42
|
" -b, --bordersize=INT Set the selection rectangle's thickness. Does\n nothing when --highlight is enabled.\n (default=`5')",
|
43
|
43
|
" -p, --padding=INT Set the padding size of the selection. Can be\n negative. (default=`0')",
|
|
@@ -95,7 +95,7 @@ static
|
95
|
95
|
void clear_args (struct gengetopt_args_info *args_info)
|
96
|
96
|
{
|
97
|
97
|
FIX_UNUSED (args_info);
|
98
|
|
- args_info->xdisplay_arg = gengetopt_strdup (":0");
|
|
98
|
+ args_info->xdisplay_arg = NULL;
|
99
|
99
|
args_info->xdisplay_orig = NULL;
|
100
|
100
|
args_info->nokeyboard_flag = 0;
|
101
|
101
|
args_info->bordersize_arg = 5;
|
|
@@ -680,7 +680,7 @@ cmdline_parser_internal (
|
680
|
680
|
|
681
|
681
|
if (update_arg( (void *)&(args_info->xdisplay_arg),
|
682
|
682
|
&(args_info->xdisplay_orig), &(args_info->xdisplay_given),
|
683
|
|
- &(local_args_info.xdisplay_given), optarg, 0, ":0", ARG_STRING,
|
|
683
|
+ &(local_args_info.xdisplay_given), optarg, 0, 0, ARG_STRING,
|
684
|
684
|
check_ambiguity, override, 0, 0,
|
685
|
685
|
"xdisplay", '-',
|
686
|
686
|
additional_error))
|