Content-Length: 258913 | pFad | http://github.com/micropython/micropython/commit/aa0b8f340d0e660cf3c1688fa1e755fdbc3ef574

07 mpy-cross/main: Use MICROPY_BANNER_NAME_AND_VERSION for --version. · micropython/micropython@aa0b8f3 · GitHub
Skip to content

Commit aa0b8f3

Browse files
committed
mpy-cross/main: Use MICROPY_BANNER_NAME_AND_VERSION for --version.
Gives the same output and keeps things consistent across the code base. Signed-off-by: Damien George <damien@micropython.org>
1 parent 1fe3b47 commit aa0b8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: mpy-cross/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ MP_NOINLINE int main_(int argc, char **argv) {
248248
if (strcmp(argv[a], "-X") == 0) {
249249
a += 1;
250250
} else if (strcmp(argv[a], "--version") == 0) {
251-
printf("MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE
251+
printf(MICROPY_BANNER_NAME_AND_VERSION
252252
"; mpy-cross emitting mpy v" MP_STRINGIFY(MPY_VERSION) "." MP_STRINGIFY(MPY_SUB_VERSION) "\n");
253253
return 0;
254254
} else if (strcmp(argv[a], "-v") == 0) {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/micropython/micropython/commit/aa0b8f340d0e660cf3c1688fa1e755fdbc3ef574

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy