Skip to content

Commit

Permalink
chore(term): update cli help
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Aug 30, 2024
1 parent e1c3e04 commit 35981ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/synd_term/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub struct ApiOptions {
/// `synd_api` endpoint
#[arg(long, global = true, env = config::env::ENDPOINT)]
pub endpoint: Option<Url>,
/// Client timeout
/// Client timeout(ex. 30s)
#[arg(long, value_parser = config::parse::flag::parse_duration_opt, env = config::env::CLIENT_TIMEOUT)]
pub client_timeout: Option<Duration>,
}
Expand All @@ -71,10 +71,10 @@ pub struct FeedOptions {
/// Feed entries limit to fetch
#[arg(long, aliases = ["max-entries"], env = config::env::FEED_ENTRIES_LIMIT)]
pub entries_limit: Option<usize>,
/// Feed browser command
/// Browser command to open feed entry
#[arg(long, env = config::env::FEED_BROWSER)]
pub browser: Option<PathBuf>,
/// Feed browser args
/// Args for launching the browser command
#[arg(long, env = config::env::FEED_BROWSER_ARGS)]
pub browser_args: Option<Vec<String>>,
}
Expand Down

0 comments on commit 35981ef

Please sign in to comment.