mirror of
https://github.com/whowechina/aic_pico.git
synced 2024-11-24 22:00:10 +01:00
Put built time to help
This commit is contained in:
parent
d20658fac6
commit
e954d96287
@ -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