Skip to content

Commit

Permalink
Merge pull request #22 from quake/master
Browse files Browse the repository at this point in the history
fix: version output
  • Loading branch information
holmgr authored Feb 5, 2019
2 parents 118a45e + 7fab5a9 commit c2dc9da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
use clap::{App, Arg, ArgGroup, SubCommand};
use clap::{
app_from_crate, crate_authors, crate_description, crate_name, crate_version, Arg, ArgGroup,
SubCommand,
};
use fern::colors::{Color, ColoredLevelConfig};
use log::{debug, error, info};
use std::{
Expand Down Expand Up @@ -104,10 +107,7 @@ fn find_cargo_projects(root: &Path, include_hidden: bool) -> Vec<PathBuf> {
}

fn main() {
let matches = App::new("Cargo sweep")
.version("0.1")
.author("Viktor Holmgren <viktor.holmgren@gmail.com>")
.about("Clean old/unused Cargo artifacts")
let matches = app_from_crate!()
.subcommand(
SubCommand::with_name("sweep")
.arg(
Expand Down

0 comments on commit c2dc9da

Please sign in to comment.