Skip to content

Commit

Permalink
Remove --no-rename-dir option
Browse files Browse the repository at this point in the history
This functionality can be gained by using --rename-dir='.' to override
the config.
  • Loading branch information
ghickman committed Dec 24, 2015
1 parent 0d4db0e commit 3c03dfd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tvrenamr/cli/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
@click.option('-q', '--quiet', is_flag=True, help="Don't output logs to the command line")
@click.option('-r', '--recursive', is_flag=True, help='Recursively lookup files in a given directory') # noqa
@click.option('--rename-dir', type=click.Path(), help='The directory to move renamed files to, if not specified the working directory is used.') # noqa
@click.option('--no-rename-dir', is_flag=True, default=False, help='Explicity tell Tv Renamr not to move renamed files. Used to override the config.') # noqa
@click.option('--regex', help='The regular expression to use when extracting information from files.') # noqa
@click.option('-s', '--season', help='Set the season number.')
@click.option('--show', help="Set the show's name (will search for this name).")
Expand All @@ -46,9 +45,8 @@
def rename(config, canonical, debug, dry_run, episode, # pylint: disable-msg=too-many-arguments
ignore_filelist, log_file, log_level, name, # pylint: disable-msg=too-many-arguments
no_cache, output_format, organise, partial, # pylint: disable-msg=too-many-arguments
quiet, recursive, rename_dir, no_rename_dir, # pylint: disable-msg=too-many-arguments
regex, season, show, show_override, specials, # pylint: disable-msg=too-many-arguments
the, paths): # pylint: disable-msg=too-many-arguments
quiet, recursive, rename_dir, regex, season, # pylint: disable-msg=too-many-arguments
show, show_override, specials, the, paths): # pylint: disable-msg=too-many-arguments

if debug:
log_level = 10
Expand Down

0 comments on commit 3c03dfd

Please sign in to comment.