diff --git a/setup.cfg b/setup.cfg index 8720c19..ee6fee8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -version = 0.4.1 +version = 0.4.2 name = yamlfixer-opt-nc description = automates the fixing of problems reported by yamllint long_description = file: README.md diff --git a/yamlfixer/__init__.py b/yamlfixer/__init__.py index 9e3ec5c..a0f37ce 100755 --- a/yamlfixer/__init__.py +++ b/yamlfixer/__init__.py @@ -19,7 +19,7 @@ import time -__version__ = "0.4.1" +__version__ = "0.4.2" __author__ = "OPT-NC" __license__ = "GPLv3+" __copyright__ = "Copyright (C) 2021-%s %s" % (time.strftime("%Y", diff --git a/yamlfixer/__main__.py b/yamlfixer/__main__.py index 5e701eb..a11aa96 100755 --- a/yamlfixer/__main__.py +++ b/yamlfixer/__main__.py @@ -85,9 +85,6 @@ def run(): if cmdline.prog == "__main__.py": cmdline.prog = "yamlfixer" arguments = cmdline.parse_args() - if arguments.backupsuffix and not arguments.backup: - sys.stderr.write("ERROR: Option -B|--backupsuffix requires -b|--backup\n") - return EXIT_CMDLINEERROR if arguments.listfixes: return YAMLFixer(arguments).listfixes() return YAMLFixer(arguments).fix()