diff options
Diffstat (limited to 'src/cmd/sync.rs')
-rw-r--r-- | src/cmd/sync.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cmd/sync.rs b/src/cmd/sync.rs index 99e39f7..b6019c4 100644 --- a/src/cmd/sync.rs +++ b/src/cmd/sync.rs @@ -14,7 +14,7 @@ pub fn subcommand<'a, 'b>() -> clap::App<'a, 'b> { .arg( clap::Arg::with_name("username") .required(true) - .help("last.fm username to fetch tracks for") + .help("last.fm username to fetch tracks for"), ) } @@ -39,7 +39,10 @@ impl super::Command for Command { bar.set_style( indicatif::ProgressStyle::default_bar() .progress_chars("=> ") - .template("Downloading {pos}/{len} tracks...\n{percent:>3}% [{wide_bar}] {eta:5}") + .template( + "Downloading {pos}/{len} tracks...\n\ + {percent:>3}% [{wide_bar}] {eta:5}", + ), ); db.insert_tracks(bar.wrap_iter(lastfm.tracks(from)))?; |