Merge pull request #1637 from sylvestre/clap-install

refactor(install): move to clap
This commit is contained in:
Sylvestre Ledru
2020-11-17 13:00:04 +01:00
committed by GitHub
4 changed files with 214 additions and 183 deletions
Generated
+1 -1
View File
@@ -1677,7 +1677,7 @@ dependencies = [
name = "uu_install"
version = "0.0.1"
dependencies = [
"getopts 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.3 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
"uucore 0.0.4",
+1 -1
View File
@@ -18,7 +18,7 @@ edition = "2018"
path = "src/install.rs"
[dependencies]
getopts = "0.2.18"
clap = "2.33"
libc = ">= 0.2"
uucore = { version=">=0.0.4", package="uucore", path="../../uucore", features=["mode"] }
uucore_procs = { version=">=0.0.4", package="uucore_procs", path="../../uucore_procs" }
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -10,7 +10,7 @@ fn test_install_help() {
.succeeds()
.no_stderr()
.stdout
.contains("Options:"));
.contains("FLAGS:"));
}
#[test]