mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
change order + remove useless import
This commit is contained in:
parent
61520546a5
commit
55221a18b4
1 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@ extern crate walkdir;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate uucore;
|
extern crate uucore;
|
||||||
|
|
||||||
use clap::{App, Arg, ArgMatches};
|
use clap::{App, Arg};
|
||||||
use remove_dir_all::remove_dir_all;
|
use remove_dir_all::remove_dir_all;
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
@ -43,15 +43,15 @@ struct Options {
|
||||||
|
|
||||||
static ABOUT: &str = "Remove (unlink) the FILE(s)";
|
static ABOUT: &str = "Remove (unlink) the FILE(s)";
|
||||||
static VERSION: &str = env!("CARGO_PKG_VERSION");
|
static VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
static OPT_DIR: &str = "dir";
|
||||||
|
static OPT_INTERACTIVE: &str = "interactive";
|
||||||
static OPT_FORCE: &str = "force";
|
static OPT_FORCE: &str = "force";
|
||||||
|
static OPT_NO_PRESERVE_ROOT: &str = "no-preserve-root";
|
||||||
|
static OPT_ONE_FILE_SYSTEM: &str = "one-file-system";
|
||||||
|
static OPT_PRESERVE_ROOT: &str = "preserve-root";
|
||||||
static OPT_PROMPT: &str = "prompt";
|
static OPT_PROMPT: &str = "prompt";
|
||||||
static OPT_PROMPT_MORE: &str = "prompt-more";
|
static OPT_PROMPT_MORE: &str = "prompt-more";
|
||||||
static OPT_INTERACTIVE: &str = "interactive";
|
|
||||||
static OPT_ONE_FILE_SYSTEM: &str = "one-file-system";
|
|
||||||
static OPT_NO_PRESERVE_ROOT: &str = "no-preserve-root";
|
|
||||||
static OPT_PRESERVE_ROOT: &str = "preserve-root";
|
|
||||||
static OPT_RECURSIVE: &str = "recursive";
|
static OPT_RECURSIVE: &str = "recursive";
|
||||||
static OPT_DIR: &str = "dir";
|
|
||||||
static OPT_VERBOSE: &str = "verbose";
|
static OPT_VERBOSE: &str = "verbose";
|
||||||
|
|
||||||
static ARG_FILES: &str = "files";
|
static ARG_FILES: &str = "files";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue