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

uptime: add two empty lines

This commit is contained in:
Daniel Hofstetter 2025-05-06 10:56:56 +02:00
parent f6d19fab79
commit 876f941e8e

View file

@ -35,6 +35,7 @@ const ABOUT: &str = concat!(
const ABOUT: &str = help_about!("uptime.md"); const ABOUT: &str = help_about!("uptime.md");
const USAGE: &str = help_usage!("uptime.md"); const USAGE: &str = help_usage!("uptime.md");
pub mod options { pub mod options {
pub static SINCE: &str = "since"; pub static SINCE: &str = "since";
pub static PATH: &str = "path"; pub static PATH: &str = "path";
@ -54,6 +55,7 @@ pub enum UptimeError {
#[error("extra operand '{0}'")] #[error("extra operand '{0}'")]
ExtraOperandError(String), ExtraOperandError(String),
} }
impl UError for UptimeError { impl UError for UptimeError {
fn code(&self) -> i32 { fn code(&self) -> i32 {
1 1