1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 12:37:49 +00:00

feature(uptime): add option --since

For this, I:
* moved from getops to clap
* remove the millisecond maths
This commit is contained in:
Sylvestre Ledru 2020-05-17 11:36:07 +02:00
parent 8e886c30dc
commit 719f2bf8ae
4 changed files with 55 additions and 37 deletions

2
Cargo.lock generated
View file

@ -1896,6 +1896,8 @@ dependencies = [
name = "uptime"
version = "0.0.1"
dependencies = [
"chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"getopts 0.2.19 (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.2 (git+https://github.com/uutils/uucore/?tag=0.0.2)",