aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 2603a27..6c87367 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -80,15 +80,20 @@ fn main() {
.short("o"))
.subcommand(SubCommand::with_name("parse")
.about("Parse the input, checking the format"))
- .subcommand(SubCommand::with_name("convert"))
- .subcommand(SubCommand::with_name("freq"))
+ .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"))
.subcommand(SubCommand::with_name("seen")
+ .about("Print the last line a nick was active")
.arg(Arg::with_name("nick")
.help("The nick you're looking for")
.takes_value(true).required(true)
.index(1)))
- .subcommand(SubCommand::with_name("sort"))
- .subcommand(SubCommand::with_name("dedup"))
+ .subcommand(SubCommand::with_name("sort")
+ .about("Sorts a log by time"))
+ .subcommand(SubCommand::with_name("dedup")
+ .about("Removes duplicate log entries in close proximity"))
.get_matches();
match args.subcommand() {