diff --git a/rnsutils/sf2toxrni.py b/rnsutils/sf2toxrni.py index c666e3c..9a0bdf0 100644 --- a/rnsutils/sf2toxrni.py +++ b/rnsutils/sf2toxrni.py @@ -235,7 +235,7 @@ def main(argv=None): default=False, help="debug parsing [default: %(default)s]") parser.add_argument("-e", "--encode", dest="encoding", choices=[ENCODING_NONE, ENCODING_FLAC, ENCODING_OGG], - default="none", help="encode samples into given format [default: %(default)s]") + default=ENCODING_FLAC, help="encode samples into given format [default: %(default)s]") parser.add_argument("-f", "--force", dest="force", default=False, action="store_true", help="force overwriting existing files [default: %(default)s]") parser.add_argument("-q", "--quiet", dest="quiet", action="store_true", default=False, diff --git a/rnsutils/sfztoxrni.py b/rnsutils/sfztoxrni.py index c6c7d5e..fa02e0a 100644 --- a/rnsutils/sfztoxrni.py +++ b/rnsutils/sfztoxrni.py @@ -284,7 +284,7 @@ def main(argv=None): default=False, help="debug parsing [default: %(default)s]") parser.add_argument("-e", "--encode", dest="encoding", choices=[ENCODING_NONE, ENCODING_FLAC, ENCODING_OGG], - default="none", help="encode samples into given format [default: %(default)s]") + default=ENCODING_FLAC, help="encode samples into given format [default: %(default)s]") parser.add_argument("-f", "--force", dest="force", default=False, action="store_true", help="force overwriting existing files [default: %(default)s]") parser.add_argument("-q", "--quiet", dest="quiet", action="store_true", default=False,