Skip to content

Commit

Permalink
Merge branch 'main' of github.com:o2sh/onefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Feb 21, 2022
2 parents aecdeff + 8c6236e commit f00c8b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ anyhow = "1.0"
askalono = "0.4.4"
byte-unit = "4.0.13"
bytecount = "0.6.2"
clap = {version = "3.0.14", features = ["cargo", "wrap_help"]}
clap = {version = "3.1.1", features = ["cargo", "wrap_help"]}
color_quant = "1.1.0"
colored = "2.0.0"
git2 = {version = "0.13.25", default-features = false}
Expand Down
6 changes: 3 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::ui::image_backends;
use crate::ui::image_backends::ImageBackend;
use crate::ui::printer::SerializationFormat;
use anyhow::{Context, Result};
use clap::{crate_description, crate_name, crate_version, App, AppSettings, Arg};
use clap::{crate_description, crate_name, crate_version, AppSettings, Arg};
use image::DynamicImage;
use regex::Regex;
use std::process::Command;
Expand Down Expand Up @@ -48,11 +48,11 @@ impl Config {
let color_values = &[
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15",
];
let matches = App::new(crate_name!())
let matches = clap::Command::new(crate_name!())
.version(crate_version!())
.about(crate_description!())
.setting(AppSettings::DeriveDisplayOrder)
.setting(AppSettings::HidePossibleValues)
.hide_possible_values(true)
.arg(
Arg::new("input")
.default_value(".")
Expand Down

0 comments on commit f00c8b3

Please sign in to comment.