Skip to content

Commit 4a762f2

Browse files
committed
Add ts-start and ts-end CLI aliases
1 parent e36a3e5 commit 4a762f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lens/parse/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ pub struct ParseFilters {
226226
pub elem_type: Option<ParseElemType>,
227227

228228
/// Filter by start unix timestamp inclusive
229-
#[cfg_attr(feature = "cli", clap(short = 't', long))]
229+
#[cfg_attr(feature = "cli", clap(short = 't', long, visible_alias = "ts-start"))]
230230
pub start_ts: Option<String>,
231231

232232
/// Filter by end unix timestamp inclusive
233-
#[cfg_attr(feature = "cli", clap(short = 'T', long))]
233+
#[cfg_attr(feature = "cli", clap(short = 'T', long, visible_alias = "ts-end"))]
234234
pub end_ts: Option<String>,
235235

236236
/// Duration from the start-ts or end-ts, e.g. 1h

0 commit comments

Comments
 (0)