summaryrefslogtreecommitdiff
path: root/windows/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows/main.c')
-rw-r--r--windows/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/windows/main.c b/windows/main.c
index 98d293161..575572ae3 100644
--- a/windows/main.c
+++ b/windows/main.c
@@ -16,6 +16,7 @@
#include "runtime0.h"
#include "runtime.h"
#include "repl.h"
+#include "build/py/py-version.h"
#if MICROPY_USE_READLINE
#include <readline/readline.h>
@@ -117,6 +118,9 @@ static char *prompt(char *p) {
}
static void do_repl(void) {
+ printf("Micro Python build " MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "; Windows version\n");
+ printf("Type \"help()\" for more information.\n");
+
for (;;) {
char *line = prompt(">>> ");
if (line == NULL) {