# HG changeset patch # User Amine Sehili # Date 1570732660 -7200 # Node ID 7d0f2e18add48f506171e26d2fbc962591c941fe # Parent ce60e2ec33b0663a2c6cedbafed0021eb0bf2cf5 Remove the need to use -i to specify input file on the command line diff -r ce60e2ec33b0 -r 7d0f2e18add4 auditok/cmdline.py --- a/auditok/cmdline.py Wed Oct 09 22:18:48 2019 +0100 +++ b/auditok/cmdline.py Thu Oct 10 20:37:40 2019 +0200 @@ -47,12 +47,12 @@ ) group = parser.add_argument_group("Input-Output options") group.add_argument( - "-i", - "--input", dest="input", help="Input audio or video file. Use '-' for stdin " "[default: read from microphone using pyaudio]", - metavar="FILE", + metavar="input", + nargs='?', + default=None ) group.add_argument( "-I",