From c6d5eccf6c85420dd99fa2bca7501b292f0416f0 Mon Sep 17 00:00:00 2001 From: Andreas Molzer Date: Tue, 1 Feb 2022 19:53:25 +0100 Subject: [PATCH] false,true: Resolve formatting nit in About --- src/uu/false/src/false.rs | 10 +++++----- src/uu/true/src/true.rs | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/uu/false/src/false.rs b/src/uu/false/src/false.rs index 8b487847d..c6661dc35 100644 --- a/src/uu/false/src/false.rs +++ b/src/uu/false/src/false.rs @@ -8,12 +8,12 @@ use clap::{App, AppSettings, Arg}; use std::io::Write; use uucore::error::{set_exit_code, UResult}; -static ABOUT: &str = " - Returns false, an unsuccessful exit status. +static ABOUT: &str = "\ +Returns false, an unsuccessful exit status. - Immediately returns with the exit status `1`. When invoked with one of the recognized options it - will try to write the help or version text. Any IO error during this operation is diagnosed, yet - the program will also return `1`. +Immediately returns with the exit status `1`. When invoked with one of the recognized options it +will try to write the help or version text. Any IO error during this operation is diagnosed, yet +the program will also return `1`. "; #[uucore::main] diff --git a/src/uu/true/src/true.rs b/src/uu/true/src/true.rs index c3026e684..4a8452db6 100644 --- a/src/uu/true/src/true.rs +++ b/src/uu/true/src/true.rs @@ -8,12 +8,12 @@ use clap::{App, AppSettings, Arg}; use std::io::Write; use uucore::error::{set_exit_code, UResult}; -static ABOUT: &str = " - Returns true, a successful exit status. +static ABOUT: &str = "\ +Returns true, a successful exit status. - Immediately returns with the exit status `0`, except when invoked with one of the recognized - options. In those cases it will try to write the help or version text. Any IO error during this - operation causes the program to return `1` instead. +Immediately returns with the exit status `0`, except when invoked with one of the recognized +options. In those cases it will try to write the help or version text. Any IO error during this +operation causes the program to return `1` instead. "; #[uucore::main]