aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorTill Höppner2016-02-03 04:09:24 +0100
committerTill Höppner2016-02-03 04:09:24 +0100
commit89eaef2ae296744b511ede852cb497af0abcc7b7 (patch)
treeffb67c416d00d66d30996eb3b514090166b223ab /src/main.rs
parent8c1430424468e799435f5e1c877f72d0565ff38c (diff)
downloadilc-89eaef2ae296744b511ede852cb497af0abcc7b7.tar.gz
ilc-89eaef2ae296744b511ede852cb497af0abcc7b7.tar.xz
ilc-89eaef2ae296744b511ede852cb497af0abcc7b7.zip
Add count argument to freq
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 6c87367..11f007f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -83,7 +83,11 @@ fn main() {
.subcommand(SubCommand::with_name("convert")
.about("Convert from a source to a target format"))
.subcommand(SubCommand::with_name("freq")
- .about("Analyse the activity of users by certain metrics"))
+ .about("Analyse the activity of users by certain metrics")
+ .arg(Arg::with_name("count")
+ .help("The number of items to be displayed")
+ .takes_value(true)
+ .long("count")))
.subcommand(SubCommand::with_name("seen")
.about("Print the last line a nick was active")
.arg(Arg::with_name("nick")