summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorRosemarie O'Riorden <roriorde@redhat.com>2021-06-10 17:12:41 -0400
committerBen Pfaff <blp@ovn.org>2021-06-10 14:19:54 -0700
commit6426417c1ca14b133f321eb5be2bdadb46444013 (patch)
tree1efcba412f0a112a7cd01b84b4b6b9e46037c10e /ofproto
parent210c4cba9bc69412473a2fee8e9b6f023150e6e6 (diff)
downloadopenvswitch-6426417c1ca14b133f321eb5be2bdadb46444013.tar.gz
ipfix-gen-entities: Add missing argument in function call.
This syntax error caused the script to crash. With the use of the correct argument in the function call, it runs and prints what is expected. Signed-off-by: Rosemarie O'Riorden <roriorde@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto')
-rwxr-xr-xofproto/ipfix-gen-entities2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ipfix-gen-entities b/ofproto/ipfix-gen-entities
index d5abe9c2e..59bddf253 100755
--- a/ofproto/ipfix-gen-entities
+++ b/ofproto/ipfix-gen-entities
@@ -123,7 +123,7 @@ if __name__ == '__main__':
for key, value in options:
if key in ['-h', '--help']:
- usage()
+ usage(sys.argv[0])
elif key in ['-V', '--version']:
print('ipfix-gen-entities (Open vSwitch)')
else: