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 <[email protected]> --- ofproto/ipfix-gen-entities | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ipfix-gen-entities b/ofproto/ipfix-gen-entities index dcecdab21..bd9189132 100755 --- a/ofproto/ipfix-gen-entities +++ b/ofproto/ipfix-gen-entities @@ -121,7 +121,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: -- 2.31.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
