aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oguri/cli.py19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/oguri/cli.py b/src/oguri/cli.py
index 5a5fbd3..bbb8222 100644
--- a/src/oguri/cli.py
+++ b/src/oguri/cli.py
@@ -7,26 +7,22 @@ from . import constants
@click.group(cls=ClickAliasedGroup)
def cli():
- """A command-line tool for AniList"""
+ """Command-line tool for AniList"""
pass
@cli.command(aliases=["s"])
@click.argument("day", required=False, default="today")
- "--reverse", is_flag=True, help="Reverse the order of the schedule")
- "--exact",
- is_flag=True,
- help="Show exact airing times instead of relative times")
[email protected]("--reverse", is_flag=True, help="Reverse schedule order")
[email protected]("--exact", is_flag=True, help="Show exact airing times")
@click.option("--first", is_flag=True, help="Show only first airing episodes")
@click.option(
"--sort",
"sort_by",
type=click.Choice(["time", "episode"], case_sensitive=False),
default="time",
- help="Sort the schedule by time or episode",
+ help="Sort schedule by time or episode",
)
@click.option(
"--country",
@@ -34,7 +30,7 @@ def cli():
multiple=True,
type=click.Choice(constants.COUNTRIES, case_sensitive=False),
default=constants.COUNTRIES,
- help="Filter by country of origin. Can be used multiple times (default: JP, KR, CN)",
+ help="Filter by country of origin. Can be used multiple times.",
)
@click.option("--episode", type=int, help="Filter by episode number")
@click.option(
@@ -77,10 +73,7 @@ def schedule(
month,
genres,
):
- """Shows the airing schedule for a given day
-
- DAY can be "today", "tomorrow", "yesterday", or an integer representing the number of days from now.
- """
+ """Show the airing schedule for a given day or selection"""
days_offset = 0