Merge branch 'matthiasc/for-main' into 'main'

path-tool: Fix the restrict command

See merge request GNOME/gtk!6424
This commit is contained in:
Matthias Clasen 2023-09-22 00:21:22 +00:00
commit d65dc6c730

View File

@ -34,7 +34,7 @@ do_restrict (int *argc, const char ***argv)
GOptionContext *context; GOptionContext *context;
GOptionEntry entries[] = { GOptionEntry entries[] = {
{ "start", 0, 0, G_OPTION_ARG_DOUBLE, &start, N_("Beginning of segment"), N_("LENGTH") }, { "start", 0, 0, G_OPTION_ARG_DOUBLE, &start, N_("Beginning of segment"), N_("LENGTH") },
{ "end", 0, 0, G_OPTION_ARG_DOUBLE, &start, N_("End of segment"), N_("LENGTH") }, { "end", 0, 0, G_OPTION_ARG_DOUBLE, &end, N_("End of segment"), N_("LENGTH") },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &args, NULL, N_("PATH") }, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &args, NULL, N_("PATH") },
{ NULL, }, { NULL, },
}; };