diff options
| author | Qiuwen Lu <[email protected]> | 2017-04-22 20:37:36 +0800 |
|---|---|---|
| committer | Qiuwen Lu <[email protected]> | 2017-04-22 20:37:36 +0800 |
| commit | 5a558774295260e9880db70f8c7b469ea176cd10 (patch) | |
| tree | 113be1ef5de2e88e88e5a2eb1d2a70ba62f1f0e2 | |
| parent | 087cc229f3e8b35657df7f5abd96138c29960ac2 (diff) | |
增加版本号输出v4.1.5-20170424
| -rw-r--r-- | service/src/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/src/core.c b/service/src/core.c index a095812..ba1fdcf 100644 --- a/service/src/core.c +++ b/service/src/core.c @@ -93,12 +93,13 @@ static void __write_arg(char * eal_argv[], unsigned int * eal_argc, static void sc_help() { - fprintf(stdout, "TODO: help()\n"); + fprintf(stdout, "\n"); exit(EXIT_SUCCESS); } static void sc_version() { + fprintf(stdout, "%s\n", service_git_version); exit(EXIT_SUCCESS); } |
