Skip to content

Commit

Permalink
Change --plaintext-only to --plain-only
Browse files Browse the repository at this point in the history
  • Loading branch information
moehmeni committed Jun 12, 2024
1 parent d0b2cba commit fe0a81d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions syncedlyrics/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand All @@ -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,
Expand Down

0 comments on commit fe0a81d

Please sign in to comment.