Merge branch 'finger-to' into 'master'

fprintd-{enroll/delete}: Fix -f help

See merge request libfprint/fprintd!237
This commit is contained in:
Daniel Schaefer 2026-05-11 21:54:07 +08:00
commit 8e4c87a821
2 changed files with 2 additions and 2 deletions

View file

@ -163,7 +163,7 @@ process_devices (guint argc, char **argv)
const GOptionEntry user_options[] = {
{ "finger", 'f', 0, G_OPTION_ARG_STRING, &fingername, "Finger selected to verify (default is automatic)", NULL },
{ "finger", 'f', 0, G_OPTION_ARG_STRING, &fingername, "Finger selected to delete (default is automatic)", NULL },
{ NULL }
};

View file

@ -209,7 +209,7 @@ release_device (FprintDBusDevice *dev)
}
static const GOptionEntry entries[] = {
{ "finger", 'f', 0, G_OPTION_ARG_STRING, &finger_name, "Finger selected to verify (default is automatic)", NULL },
{ "finger", 'f', 0, G_OPTION_ARG_STRING, &finger_name, "Finger selected to enroll (default is automatic)", NULL },
{ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &usernames, NULL, "[username]" },
{ NULL }
};