Improved README (#683)
* auto generate table of contents * cspell check * Added `single` alias to repeat mode `track` * Updated command documentation * Reformat command table Removed the "alias" column since it takes up too much space.
This commit is contained in:
@@ -370,7 +370,7 @@ pub fn parse(input: &str) -> Option<Vec<Command>> {
|
||||
"repeat" => {
|
||||
let mode = args.get(0).and_then(|mode| match *mode {
|
||||
"list" | "playlist" | "queue" => Some(RepeatSetting::RepeatPlaylist),
|
||||
"track" | "once" => Some(RepeatSetting::RepeatTrack),
|
||||
"track" | "once" | "single" => Some(RepeatSetting::RepeatTrack),
|
||||
"none" | "off" => Some(RepeatSetting::None),
|
||||
_ => None,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user