summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2011-08-01 21:18:00 -0700
committerJustin Pettit <jpettit@nicira.com>2011-08-04 11:15:55 -0700
commitd5e1e5ede31ea213d1dea2f865a1b679b7f1bed2 (patch)
tree10523144ee66d55150f62037a2759b5a27fa97e5 /utilities
parent55d5bb44cbca6993494b05a374d4f09ec03c9102 (diff)
downloadopenvswitch-d5e1e5ede31ea213d1dea2f865a1b679b7f1bed2.tar.gz
ovs-appctl: Add "version" command to print version of running daemons.
When debugging a running system, we occasionally see a mismatch of different versions because someone forgets to restart one or more daemons. Often times, it would be useful to know what's running as opposed to what's on the current runpath.
Diffstat (limited to 'utilities')
-rw-r--r--utilities/ovs-appctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utilities/ovs-appctl.c b/utilities/ovs-appctl.c
index 699ff7bd1..d3c701b48 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);
}