diff --git a/src/uu/df/Cargo.toml b/src/uu/df/Cargo.toml index 601a5acec..5fc2e3502 100644 --- a/src/uu/df/Cargo.toml +++ b/src/uu/df/Cargo.toml @@ -5,7 +5,7 @@ authors = [] [lib] name = "uu_df" -path = "df.rs" +path = "src/df.rs" [dependencies] clap = "2.32.0" @@ -18,4 +18,4 @@ winapi = { version = "0.3", features = ["handleapi"] } [[bin]] name = "df" -path = "main.rs" +path = "../../common/uumain.rs" diff --git a/src/uu/df/main.rs b/src/uu/df/main.rs deleted file mode 100644 index 09d4f3790..000000000 --- a/src/uu/df/main.rs +++ /dev/null @@ -1,5 +0,0 @@ -extern crate uu_df; - -fn main() { - std::process::exit(uu_df::uumain(std::env::args().collect())); -} diff --git a/src/uu/df/df.rs b/src/uu/df/src/df.rs similarity index 100% rename from src/uu/df/df.rs rename to src/uu/df/src/df.rs