From 331bcbdaf711dfbd8e70b1ce04b14b99f47eb10b Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Fri, 10 Dec 2021 19:24:45 +0100 Subject: [PATCH] Show the correct help message for the scan command --- examples/dctool_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dctool_scan.c b/examples/dctool_scan.c index a68d46b..868a9a7 100644 --- a/examples/dctool_scan.c +++ b/examples/dctool_scan.c @@ -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; }