Skip to content

Commit

Permalink
fix: version output
Browse files Browse the repository at this point in the history
  • Loading branch information
quake committed Jan 27, 2019
1 parent 118a45e commit 7fab5a9
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 7fab5a9

Please sign in to comment.