summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-03 19:02:14 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-03 19:02:14 +0100
commit977a0ce287b1c45c59f9f8d75d573695abcd3f2a (patch)
treeba217772826173a09d088569f6b7fda2f92a774c /unix
parentb4bb3fdb9cfcb76fb5b64e0a031a70c807ac7395 (diff)
downloadmicropython-977a0ce287b1c45c59f9f8d75d573695abcd3f2a.tar.gz
micropython-977a0ce287b1c45c59f9f8d75d573695abcd3f2a.zip
py: Print tag/version/git describe in uPy banner.
Diffstat (limited to 'unix')
-rw-r--r--unix/main.c2
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(">>> ");