In order to configure
-* `lrc -l` or `lrc --list-sources` lists the available sources. Enabled
+* `lrc -l` or `lrc --list` lists the available sources. Enabled
sourcess will have a `*`
* `lrc -e` or `lrc --enable <source>` enables a source
* `lrc -d` or `lrc --disable <source>` disables a source
-* `lrc -r` or `lrc --reset-source <source>` resets the configuration for
+* `lrc -r` or `lrc --reset <source>` resets the configuration for
a source and disables it.
* `lrc -v` or `lrc --version` prints the version
* `lrc -h` or `lrc --help` display built-in help
// Flags
let version = Flag(short: "v", long: "version", help: "Prints the version.")
let showTitle = Flag(short: "t", long: "title", help: "Shows title of song if true")
- let listSources = Flag(short: "l", long: "listSources", help: "Lists all sources")
+ let listSources = Flag(short: "l", long: "list", help: "Lists all sources")
// Named Arguments
let enableSource = Argument<String>(name: "source",
- kind: .named(short: "e", long: "enableSource"),
+ kind: .named(short: "e", long: "enable"),
optional: true,
help: "Enables a source")
let disableSource = Argument<String>(name: "source",
- kind: .named(short: "d", long: "disableSource"),
+ kind: .named(short: "d", long: "disable"),
optional: true,
help: "Disables a source")
let resetSource = Argument<String>(name: "source",
- kind: .named(short: "r", long: "resetSource"),
+ kind: .named(short: "r", long: "reset"),
optional: true,
help: "Resets a source")