mirror of
https://github.com/whowechina/mai_pico.git
synced 2024-11-28 05:20:49 +01:00
Put build time in help
This commit is contained in:
parent
56b52976e3
commit
7f97e8538f
Binary file not shown.
@ -59,7 +59,8 @@ int cli_match_prefix(const char *str[], int num, const char *prefix)
|
|||||||
static void handle_help(int argc, char *argv[])
|
static void handle_help(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
printf("%s", cli_logo);
|
printf("%s", cli_logo);
|
||||||
printf("\tSN: %016llx\n\n", board_id_64());
|
printf("\tSN: %016llx\n", board_id_64());
|
||||||
|
printf("\tBuilt: %s %s\n\n", __DATE__, __TIME__);
|
||||||
printf("Available commands:\n");
|
printf("Available commands:\n");
|
||||||
for (int i = 0; i < num_commands; i++) {
|
for (int i = 0; i < num_commands; i++) {
|
||||||
printf("%*s: %s\n", max_cmd_len + 2, commands[i], helps[i]);
|
printf("%*s: %s\n", max_cmd_len + 2, commands[i], helps[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user