mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
Remove redundant code
This commit is contained in:
parent
bc33ccc99c
commit
7fb4398c04
@ -1,17 +1,16 @@
|
||||
//! CLI arg parser configuration, command detection and input treatment.
|
||||
|
||||
use std::{
|
||||
env,
|
||||
path::{Path, PathBuf},
|
||||
vec::Vec,
|
||||
};
|
||||
|
||||
use clap::{crate_authors, crate_description, crate_name, crate_version, Parser, ValueHint};
|
||||
use clap::{Parser, ValueHint};
|
||||
|
||||
use crate::Error;
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
#[clap(name = crate_name!(), version = crate_version!(), author = crate_authors!(), about = crate_description!())]
|
||||
#[clap(version, author, about)]
|
||||
pub struct Opts {
|
||||
/// Skip overwrite questions positively.
|
||||
#[clap(short, long, conflicts_with = "no")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user