diff options
| author | Justin Pettit <jpettit@nicira.com> | 2011-08-02 12:16:44 -0700 |
|---|---|---|
| committer | Justin Pettit <jpettit@nicira.com> | 2011-08-04 11:15:43 -0700 |
| commit | 55d5bb44cbca6993494b05a374d4f09ec03c9102 (patch) | |
| tree | 6be3dce14e11d53528af237252d8bc92d0a1557e /ovsdb | |
| parent | f180c2e2ccdfc36801685dc487748b570652da68 (diff) | |
| download | openvswitch-55d5bb44cbca6993494b05a374d4f09ec03c9102.tar.gz | |
util: Introduce get_program_version function.
Useful in an upcoming commit.
Diffstat (limited to 'ovsdb')
| -rw-r--r-- | ovsdb/ovsdb-client.c | 2 | ||||
| -rw-r--r-- | ovsdb/ovsdb-server.c | 2 | ||||
| -rw-r--r-- | ovsdb/ovsdb-tool.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index 2ed118952..d2a9de10e 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -190,7 +190,7 @@ parse_options(int argc, char *argv[]) usage(); case 'V': - OVS_PRINT_VERSION(0, 0); + ovs_print_version(0, 0); exit(EXIT_SUCCESS); case 'v': diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 2d332fec0..06ac98be6 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -709,7 +709,7 @@ parse_options(int argc, char *argv[], char **file_namep, usage(); case 'V': - OVS_PRINT_VERSION(0, 0); + ovs_print_version(0, 0); exit(EXIT_SUCCESS); VLOG_OPTION_HANDLERS diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c index 74dfa5a5b..0e4a52079 100644 --- a/ovsdb/ovsdb-tool.c +++ b/ovsdb/ovsdb-tool.c @@ -85,7 +85,7 @@ parse_options(int argc, char *argv[]) usage(); case 'V': - OVS_PRINT_VERSION(0, 0); + ovs_print_version(0, 0); exit(EXIT_SUCCESS); case 'v': |
