From 826b18e7ac72b8b52d57b517631993382abc2b65 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 10 May 2024 16:15:45 +0200 Subject: [PATCH 1/2] docs: add -s/--since of uptime to extensions --- docs/src/extensions.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/extensions.md b/docs/src/extensions.md index 61c25ba48be..06663c616d1 100644 --- a/docs/src/extensions.md +++ b/docs/src/extensions.md @@ -85,7 +85,11 @@ also provides a `-v`/`--verbose` flag. ## `id` -`id` has three additional flags: +`id` has three additional flags: * `-P` displays the id as a password file entry * `-p` makes the output human-readable * `-A` displays the process audit user ID + +## `uptime` + +`uptime` provides `-s`/`--since` to show since when the system is up. From e3468ba4290cccbfe7af2437ccd7eb5fc76d434a Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sun, 12 May 2024 14:26:59 +0200 Subject: [PATCH 2/2] docs: improve uptime section Co-authored-by: Sylvestre Ledru --- docs/src/extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/extensions.md b/docs/src/extensions.md index 06663c616d1..fb91f7d543c 100644 --- a/docs/src/extensions.md +++ b/docs/src/extensions.md @@ -92,4 +92,4 @@ also provides a `-v`/`--verbose` flag. ## `uptime` -`uptime` provides `-s`/`--since` to show since when the system is up. +Similar to the proc-ps implementation and unlike GNU/Coreutils, `uptime` provides `-s`/`--since` to show since when the system is up.