Skip to content

Commit

Permalink
Update Args.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAkhunov-star authored Sep 9, 2020
1 parent 9738350 commit 620ce84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/src/main/java/org/tron/core/config/args/Args.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static void setParam(final String[] args, final String confFileName) {
if (PARAMETER.version) {
JCommander.getConsole()
.println(Version.getVersion()
+ "\n" + Version.versionName + "\n" + Version.versionCode);
+ "\n" + Version.VERSION_NAME + "\n" + Version.VERSION_CODE);
exit(0);
}

Expand Down Expand Up @@ -1072,7 +1072,7 @@ public static void logConfig() {
logger.info("Backup member size: {}", parameter.getBackupMembers().size());
logger.info("************************ Code version *************************");
logger.info("Code version : {}", Version.getVersion());
logger.info("Version code: {}", Version.versionCode);
logger.info("Version code: {}", Version.VERSION_CODE);
logger.info("************************ DB config *************************");
logger.info("DB version : {}", parameter.getStorage().getDbVersion());
logger.info("DB engine : {}", parameter.getStorage().getDbEngine());
Expand Down

0 comments on commit 620ce84

Please sign in to comment.