Clearer about messages
Some checks failed
Cargo CI / Build and Test (pull_request) Successful in 59s
Cargo CI / Lint (pull_request) Failing after 42s

This commit is contained in:
Wojciech Kozlowski 2024-01-10 19:34:20 +01:00
parent 3a266c0ec5
commit b2ba9fdc4c

View File

@ -47,9 +47,9 @@ enum ArtistCommand {
Delete(ArtistValue),
#[structopt(name = "musicbrainz", about = "Edit the MusicBrainz URL of an artist")]
MusicBrainz(UrlCommand<SingleUrlValue>),
#[structopt(name = "musicbutler", about = "Edit the MusicButler URL of an artist")]
#[structopt(name = "musicbutler", about = "Edit the MusicButler URL(s) of an artist")]
MusicButler(UrlCommand<MultiUrlValue>),
#[structopt(about = "Edit the Bandcamp URL of an artist")]
#[structopt(about = "Edit the Bandcamp URL(s) of an artist")]
Bandcamp(UrlCommand<MultiUrlValue>),
#[structopt(about = "Edit the Qobuz URL of an artist")]
Qobuz(UrlCommand<SingleUrlValue>),
@ -63,11 +63,11 @@ struct ArtistValue {
#[derive(StructOpt, Debug)]
enum UrlCommand<T: StructOpt> {
#[structopt(about = "Add URL(s) without overwriting existing values")]
#[structopt(about = "Add the provided URL(s) without overwriting existing values")]
Add(T),
#[structopt(about = "Remove the provided URL(s)")]
Remove(T),
#[structopt(about = "Set the provided URL(s) overwriting any previous values")]
#[structopt(about = "Set the provided URL(s) overwriting any existing values")]
Set(T),
#[structopt(about = "Clear all URL(s)")]
Clear(ArtistValue),