mirror of
https://github.com/figsoda/mmtc
synced 2025-02-16 21:38:38 +00:00
support host name resolution for command line args
This commit is contained in:
parent
730d179fe6
commit
5e8a7ad4b6
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
use clap::{AppSettings, Clap};
|
||||
use tui::widgets::ListState;
|
||||
|
||||
use std::{net::SocketAddr, path::PathBuf};
|
||||
use std::path::PathBuf;
|
||||
|
||||
use crate::mpd::{Status, Track};
|
||||
|
||||
|
@ -33,7 +33,7 @@ pub struct Opts {
|
|||
|
||||
/// Specify the address of the mpd server
|
||||
#[clap(long, value_name = "address")]
|
||||
pub address: Option<SocketAddr>,
|
||||
pub address: Option<String>,
|
||||
|
||||
/// Specify the config file
|
||||
#[clap(short, long, value_name = "file")]
|
||||
|
|
Loading…
Add table
Reference in a new issue