docs: update flags list

This commit is contained in:
talwat 2025-03-17 18:30:15 +01:00
parent fe70800502
commit 29dab7a77a
2 changed files with 11 additions and 10 deletions

View File

@ -143,15 +143,16 @@ Yeah, that's it.
If you have something you'd like to tweak about lowfi, you use additional flags which If you have something you'd like to tweak about lowfi, you use additional flags which
slightly tweak the UI or behaviour of the menu. The flags can be viewed with `lowfi help`. slightly tweak the UI or behaviour of the menu. The flags can be viewed with `lowfi help`.
| Flag | Function | | Flag | Function |
| ------------------------------- | ---------------------------------------------- | | ---------------------------------- | ---------------------------------------------- |
| `-a`, `--alternate` | Use an alternate terminal screen | | `-a`, `--alternate` | Use an alternate terminal screen |
| `-m`, `--minimalist` | Hide the bottom control bar | | `-m`, `--minimalist` | Hide the bottom control bar |
| `-b`, `--borderless` | Exclude borders in UI | | `-b`, `--borderless` | Exclude borders in UI |
| `-p`, `--paused` | Start lowfi paused | | `-p`, `--paused` | Start lowfi paused |
| `-d`, `--debug` | Include ALSA & other logs | | `-d`, `--debug` | Include ALSA & other logs |
| `-w`, `--width <WIDTH>` | Width of the player, from 0 to 32 [default: 3] | | `-w`, `--width <WIDTH>` | Width of the player, from 0 to 32 [default: 3] |
| `-t`, `--tracklist <TRACKLIST>` | Use a [custom track list](#custom-track-lists) | | `-t`, `--track-list <TRACK_LIST>` | Use a [custom track list](#custom-track-lists) |
| `-s`, `--buffer-size <BUFFER_SIZE` | Internal song buffer size [default: 5] |
### Scraping ### Scraping

View File

@ -47,7 +47,7 @@ struct Args {
#[clap(long, short, alias = "list", short_alias = 'l')] #[clap(long, short, alias = "list", short_alias = 'l')]
track_list: Option<String>, track_list: Option<String>,
/// Song buffer size. /// Internal song buffer size.
#[clap(long, short = 's', alias = "buffer", default_value_t = 5)] #[clap(long, short = 's', alias = "buffer", default_value_t = 5)]
buffer_size: usize, buffer_size: usize,