Skip to content

Commit af44f4a

Browse files
committed
non: update version code
1 parent c4491ae commit af44f4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ void rurima_show_version_info(void)
5252
#if defined(RURI_COMMIT_ID)
5353
cprintf("{base}%s%s%s", "built-in ruri commit id .........: ", RURI_COMMIT_ID, "\n");
5454
#endif
55-
#if defined(LIBCAP_MAJOR) && defined(LIBCAP_MINOR)
56-
cprintf("{base}%s%d%s%d%s", "libcap ..........................: ", LIBCAP_MAJOR, ".", LIBCAP_MINOR, "\n");
55+
#if defined(CTH_VERSION_STRING)
56+
cprintf("{base}%s%s%s", "built-in catsh version ..........: ", CTH_VERSION_STRING, "\n");
5757
#endif
5858
cprintf("{base}%s%s\n", "Compiler version ................: ", __VERSION__);
5959
cprintf("{base}%s%s\n", "Build date ......................: ", __TIMESTAMP__);

0 commit comments

Comments
 (0)