diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-03 19:02:14 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-03 19:02:14 +0100 |
commit | 977a0ce287b1c45c59f9f8d75d573695abcd3f2a (patch) | |
tree | ba217772826173a09d088569f6b7fda2f92a774c /unix | |
parent | b4bb3fdb9cfcb76fb5b64e0a031a70c807ac7395 (diff) | |
download | micropython-977a0ce287b1c45c59f9f8d75d573695abcd3f2a.tar.gz micropython-977a0ce287b1c45c59f9f8d75d573695abcd3f2a.zip |
py: Print tag/version/git describe in uPy banner.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/main.c b/unix/main.c index e677ff65d0..3fd6113284 100644 --- a/unix/main.c +++ b/unix/main.c @@ -142,7 +142,7 @@ STATIC char *prompt(char *p) { } STATIC void do_repl(void) { - printf("Micro Python build " MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "; UNIX version\n"); + printf("Micro Python " MICROPY_GIT_TAG " (" MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "); UNIX version\n"); for (;;) { char *line = prompt(">>> "); |