From a65cf11c9b06b9b6c312637108cda60533614b3c Mon Sep 17 00:00:00 2001 From: desimaniac <5501908+desimaniac@users.noreply.github.com> Date: Thu, 30 May 2019 16:58:24 -0500 Subject: [PATCH] Click: Renamed _id argument to -id --- traktarr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traktarr.py b/traktarr.py index 67a9a24..dc931e0 100755 --- a/traktarr.py +++ b/traktarr.py @@ -125,7 +125,7 @@ def get_objects(pvr, type, notifications): ############################################################ @app.command(help='Add a single show to Sonarr.', context_settings=dict(max_content_width=100)) -@click.option('--show_id', '-id', help='Trakt show_id.', required=True) +@click.option('--show-id', '-id', help='Trakt Show ID.', required=True) @click.option('--folder', '-f', default=None, help='Add show with this root folder to Sonarr.') @click.option('--no-search', is_flag=True, help='Disable search when adding show to Sonarr.') def show(show_id, folder=None, no_search=False): @@ -345,7 +345,7 @@ def shows(list_type, add_limit=0, add_delay=2.5, sort='votes', genre=None, folde ############################################################ @app.command(help='Add a single movie to Radarr.', context_settings=dict(max_content_width=100)) -@click.option('--movie_id', '-id', help='Trakt movie_id.', required=True) +@click.option('--movie-id', '-id', help='Trakt Movie ID.', required=True) @click.option('--folder', '-f', default=None, help='Add movie with this root folder to Radarr.') @click.option('--no-search', is_flag=True, help='Disable search when adding movie to Radarr.') def movie(movie_id, folder=None, no_search=False):