···4545 .subcommand(
4646 Command::new("play")
4747 .about("Play a radio station")
4848- .arg(arg!(<station> "The station to play")),
4848+ .arg(arg!(<station> "The station to play"))
4949+ .arg(arg!(--volume "Set the initial volume (as a percent)").default_value("100")),
4950 )
5051 .subcommand(
5152 Command::new("browse")
···9091 Some(("play", args)) => {
9192 let station = args.value_of("station").unwrap();
9293 let provider = matches.value_of("provider").unwrap();
9393- play::exec(station, provider).await?;
9494+ let volume = args.value_of("volume").unwrap().parse::<f32>().unwrap();
9595+ play::exec(station, provider, volume).await?;
9496 }
9597 Some(("browse", args)) => {
9698 let category = args.value_of("category");