client: dpp: display table footer and set to auto update

The table footer never got added when the properties did. In addition
set the 'show' command to update since these properties could change.
This commit is contained in:
James Prestwood 2022-07-07 10:55:02 -07:00 committed by Denis Kenzior
parent 35dd2c0821
commit 3ccaf7beed
1 changed files with 3 additions and 1 deletions

View File

@ -287,6 +287,8 @@ static enum cmd_status cmd_show(const char *device_name,
proxy_properties_display(proxy, caption, MARGIN, 20, 47);
l_free(caption);
display_table_footer();
return CMD_STATUS_DONE;
}
@ -297,7 +299,7 @@ static const struct command dpp_commands[] = {
{ "<wlan>", "start-configurator", NULL, cmd_start_configurator,
"Starts a DPP Configurator" },
{ "<wlan>", "stop", NULL, cmd_stop, "Aborts DPP operations" },
{ "<wlan>", "show", NULL, cmd_show, "Shows the DPP state" },
{ "<wlan>", "show", NULL, cmd_show, "Shows the DPP state", true },
{ }
};