git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add build number to datapath version and --version output from programs.
[sliver-openvswitch.git]
/
switch
/
switch.c
diff --git
a/switch/switch.c
b/switch/switch.c
index
03f7dc0
..
525e9fa
100644
(file)
--- a/
switch/switch.c
+++ b/
switch/switch.c
@@
-214,7
+214,8
@@
parse_options(int argc, char *argv[])
usage();
case 'V':
- printf("%s "VERSION" compiled "__DATE__" "__TIME__"\n", argv[0]);
+ printf("%s %s compiled "__DATE__" "__TIME__"\n",
+ program_name, VERSION BUILDNR);
exit(EXIT_SUCCESS);
case 'v':