X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-appctl.c;h=d3c701b480206d283546724c31b3383b5b1b39e2;hb=735bc64a84a4e33841d476a28d8b04bd716f58f3;hp=cd059bf1cffa9bbfa995deb734f8805f2d045e4a;hpb=c1a543a8d6d2847983b6b0defd1e19777da85715;p=openvswitch diff --git a/utilities/ovs-appctl.c b/utilities/ovs-appctl.c index cd059bf1..d3c701b4 100644 --- a/utilities/ovs-appctl.c +++ b/utilities/ovs-appctl.c @@ -88,6 +88,7 @@ Targets:\n\ -t, --target=TARGET pidfile or socket to contact\n\ Common commands:\n\ help List commands supported by the target\n\ + version Print version of the target\n\ vlog/list List current logging levels\n\ vlog/set MODULE[:FACILITY[:LEVEL]]\n\ Set MODULE and FACILITY log level to LEVEL\n\ @@ -97,7 +98,7 @@ Common commands:\n\ vlog/reopen Make the program reopen its log file\n\ Other options:\n\ -h, --help Print this helpful information\n\ - -V, --version Display version information\n", + -V, --version Display ovs-appctl version information\n", program_name, program_name); exit(EXIT_SUCCESS); } @@ -147,7 +148,7 @@ parse_command_line(int argc, char *argv[]) break; case 'V': - OVS_PRINT_VERSION(0, 0); + ovs_print_version(0, 0); exit(EXIT_SUCCESS); case '?':