From 89eaef2ae296744b511ede852cb497af0abcc7b7 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Wed, 3 Feb 2016 04:09:24 +0100 Subject: Add count argument to freq --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.rs') 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") -- cgit v1.2.3