1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 04:27:45 +00:00

Merge pull request #3263 from cakebaker/remove_direct_option

df: remove unused "--direct" option
This commit is contained in:
Terts Diepraam 2022-03-19 22:38:05 +01:00 committed by GitHub
commit bec00546f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,6 @@ const USAGE: &str = "{} [OPTION]... [FILE]...";
static OPT_ALL: &str = "all";
static OPT_BLOCKSIZE: &str = "blocksize";
static OPT_DIRECT: &str = "direct";
static OPT_TOTAL: &str = "total";
static OPT_HUMAN_READABLE: &str = "human-readable";
static OPT_HUMAN_READABLE_2: &str = "human-readable-2";
@ -338,11 +337,6 @@ pub fn uu_app<'a>() -> App<'a> {
'-BM' prints sizes in units of 1,048,576 bytes",
),
)
.arg(
Arg::new(OPT_DIRECT)
.long("direct")
.help("show statistics for a file instead of mount point"),
)
.arg(
Arg::new(OPT_TOTAL)
.long("total")