parent
149281f694
commit
6570ab27c9
@ -0,0 +1,3 @@ |
|||||||
|
#pragma once |
||||||
|
|
||||||
|
void shell_version(struct console *con, const char **argv, size_t argc); |
@ -0,0 +1,15 @@ |
|||||||
|
#include <stdio.h> |
||||||
|
|
||||||
|
#include <console.h> |
||||||
|
|
||||||
|
#include <shell/version.h> |
||||||
|
|
||||||
|
void shell_version(struct console *con, const char **argv, size_t argc) |
||||||
|
{ |
||||||
|
(void)argv; |
||||||
|
|
||||||
|
if (argc < 1) |
||||||
|
return; |
||||||
|
|
||||||
|
fprintf(con->fp, "hello,%s\n", TBM_VERSION); |
||||||
|
} |
Loading…
Reference in new issue