From fe0a81dccedf8dc0dabec21a37e8558388531f40 Mon Sep 17 00:00:00 2001 From: Mohammad Momeni Date: Wed, 12 Jun 2024 17:20:40 +0200 Subject: [PATCH] Change --plaintext-only to --plain-only --- README.md | 4 ++-- syncedlyrics/cli.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cd0540d..5616cdf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ syncedlyrics "SEARCH_TERM" ``` By default, this will prefer time synced lyrics, but use plaintext lyrics, if no synced lyrics are available. -To only allow one type of lyrics specify `--plaintext-only` or `--synced-only` respectively. +To only allow one type of lyrics specify `--plain-only` or `--synced-only` respectively. #### Available Options | Flag | Description | @@ -23,7 +23,7 @@ To only allow one type of lyrics specify `--plaintext-only` or `--synced-only` r | `-p` | Space-separated list of [providers](#providers) to include in searching | | `-l` | Language code of the translation ([ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format) | | `-v` | Use this flag to show the logs | -| `--plaintext-only` | Only look for plain text (not synced) lyrics | +| `--plain-only` | Only look for plain text (not synced) lyrics | | `--synced-only` | Only look for synced lyrics | | `--enhanced` | Searches for an [Enhanced](https://en.wikipedia.org/wiki/LRC_(file_format)#A2_extension:_word_time_tag) (word-level karaoke) format. If it isn't available, search for regular synced lyrics. diff --git a/syncedlyrics/cli.py b/syncedlyrics/cli.py index d9fb7ed..39e032a 100644 --- a/syncedlyrics/cli.py +++ b/syncedlyrics/cli.py @@ -30,7 +30,7 @@ def cli_handler(): "-v", "--verbose", help="Use this flag to show the logs", action="store_true" ) parser.add_argument( - "--plaintext-only", + "--plain-only", help="Only look for plain text (not synced) lyrics", action="store_true", ) @@ -50,7 +50,7 @@ def cli_handler(): lrc = search( args.search_term, - args.plaintext_only, + args.plain_only, args.synced_only, args.output, args.p,