Show the correct help message for the scan command

This commit is contained in:
Jef Driesen 2021-12-10 19:24:45 +01:00
parent af03e39383
commit 331bcbdaf7

View File

@ -158,7 +158,7 @@ dctool_scan_run (int argc, char *argv[], dc_context_t *context, dc_descriptor_t
// Show help message.
if (help) {
dctool_command_showhelp (&dctool_list);
dctool_command_showhelp (&dctool_scan);
return EXIT_SUCCESS;
}