diff --git a/flake8/main/cli.py b/flake8/main/cli.py index 05af72e..7f58fb2 100644 --- a/flake8/main/cli.py +++ b/flake8/main/cli.py @@ -127,11 +127,6 @@ def register_default_options(option_manager): # Config file options - add_option( - '--isolated', default=False, action='store_true', - help='Ignore all found configuration files.', - ) - add_option( '--append-config', action='append', help='Provide extra config files to parse in addition to the files ' @@ -140,6 +135,18 @@ def register_default_options(option_manager): 'provide the same option.', ) + add_option( + '--config', default=None, + help='Path to the config file that will be the authoritative config ' + 'source. This will cause Flake8 to ignore all other ' + 'configuration files.' + ) + + add_option( + '--isolated', default=False, action='store_true', + help='Ignore all found configuration files.', + ) + def main(argv=None): """Main entry-point for the flake8 command-line tool."""