@@ -331,17 +331,17 @@ class ConfigTool(metaclass=ABCMeta):
331331 Custom parser options can be added by overriding 'custom_parser_options'.
332332 """
333333
334- def __init__ (self , file ):
334+ def __init__ (self , default_file_path ):
335335 """Create parser for config manipulation tool.
336336
337- 'file' must be the default config file with path
337+ :param default_file_path: Default configuration file path
338338 """
339339
340340 self .parser = argparse .ArgumentParser (description = """
341341 Configuration file manipulation tool.""" )
342342 self .subparsers = self .parser .add_subparsers (dest = 'command' ,
343343 title = 'Commands' )
344- self ._common_parser_options (file )
344+ self ._common_parser_options (default_file_path )
345345 self .custom_parser_options ()
346346 self .args = self .parser .parse_args ()
347347 self .config = Config () # Make the pylint happy
@@ -352,13 +352,13 @@ def add_adapter(self, name, function, description):
352352 subparser = self .subparsers .add_parser (name , help = description )
353353 subparser .set_defaults (adapter = function )
354354
355- def _common_parser_options (self , file ):
355+ def _common_parser_options (self , default_file_path ):
356356 """Common parser options for config manipulation tool."""
357357
358358 self .parser .add_argument (
359359 '--file' , '-f' ,
360360 help = """File to read (and modify if requested). Default: {}.
361- """ .format (file ))
361+ """ .format (default_file_path ))
362362 self .parser .add_argument (
363363 '--force' , '-o' ,
364364 action = 'store_true' ,
0 commit comments