diff --git a/dev/src/uu_sort/sort.rs.html b/dev/src/uu_sort/sort.rs.html index abefb8e11..070e3fed7 100644 --- a/dev/src/uu_sort/sort.rs.html +++ b/dev/src/uu_sort/sort.rs.html @@ -1998,17 +1998,6 @@ 1998 1999 2000 -2001 -2002 -2003 -2004 -2005 -2006 -2007 -2008 -2009 -2010 -2011
//  * This file is part of the uutils coreutils package.
 //  *
 //  * (c) Michael Yin <mikeyin@mikeyin.org>
@@ -2056,26 +2045,15 @@
 use unicode_width::UnicodeWidthStr;
 use uucore::display::Quotable;
 use uucore::error::{set_exit_code, strip_errno, UError, UResult, USimpleError, UUsageError};
-use uucore::format_usage;
 use uucore::parse_size::{ParseSizeError, Parser};
 use uucore::version_cmp::version_cmp;
+use uucore::{format_usage, help_about, help_section, help_usage};
 
 use crate::tmp_dir::TmpDirWrapper;
 
-const ABOUT: &str = "\
-    Display sorted concatenation of all FILE(s). \
-    With no FILE, or when FILE is -, read standard input.";
-const USAGE: &str = "{} [OPTION]... [FILE]...";
-
-const LONG_HELP_KEYS: &str = "The key format is FIELD[.CHAR][OPTIONS][,FIELD[.CHAR]][OPTIONS].
-
-Fields by default are separated by the first whitespace after a non-whitespace character. Use -t to specify a custom separator.
-In the default case, whitespace is appended at the beginning of each field. Custom separators however are not included in fields.
-
-FIELD and CHAR both start at 1 (i.e. they are 1-indexed). If there is no end specified after a comma, the end will be the end of the line.
-If CHAR is set 0, it means the end of the field. CHAR defaults to 1 for the start position and to 0 for the end position.
-
-Valid options are: MbdfhnRrV. They override the global options for this key.";
+const ABOUT: &str = help_about!("sort.md");
+const USAGE: &str = help_usage!("sort.md");
+const AFTER_HELP: &str = help_section!("after help", "sort.md");
 
 mod options {
     pub mod modes {
@@ -3303,7 +3281,7 @@ Valid options are: MbdfhnRrV. They override the global options for this key.&quo
     Command::new(uucore::util_name())
         .version(crate_version!())
         .about(ABOUT)
-        .after_help(LONG_HELP_KEYS)
+        .after_help(AFTER_HELP)
         .override_usage(format_usage(USAGE))
         .infer_long_args(true)
         .disable_help_flag(true)
diff --git a/dev/src/uu_timeout/timeout.rs.html b/dev/src/uu_timeout/timeout.rs.html
index 66aa4b298..bd715b6e3 100644
--- a/dev/src/uu_timeout/timeout.rs.html
+++ b/dev/src/uu_timeout/timeout.rs.html
@@ -402,12 +402,12 @@
 use uucore::signals::enable_pipe_errors;
 
 use uucore::{
-    format_usage, show_error,
+    format_usage, help_about, help_usage, show_error,
     signals::{signal_by_name_or_value, signal_name_by_value},
 };
 
-static ABOUT: &str = "Start COMMAND, and kill it if still running after DURATION.";
-const USAGE: &str = "{} [OPTION] DURATION COMMAND...";
+const ABOUT: &str = help_about!("timeout.md");
+const USAGE: &str = help_usage!("timeout.md");
 
 pub mod options {
     pub static FOREGROUND: &str = "foreground";
diff --git a/dev/src/uu_tr/tr.rs.html b/dev/src/uu_tr/tr.rs.html
index 6fa31ecef..59fb3a9ad 100644
--- a/dev/src/uu_tr/tr.rs.html
+++ b/dev/src/uu_tr/tr.rs.html
@@ -167,8 +167,6 @@
 167
 168
 169
-170
-171
 
//  * This file is part of the uutils coreutils package.
 //  *
 //  * For the full copyright and license information, please view the LICENSE
@@ -184,17 +182,15 @@
 use nom::AsBytes;
 use operation::{translate_input, Sequence, SqueezeOperation, TranslateOperation};
 use std::io::{stdin, stdout, BufReader, BufWriter};
-use uucore::{format_usage, show};
+use uucore::{format_usage, help_about, help_section, help_usage, show};
 
 use crate::operation::DeleteOperation;
 use uucore::display::Quotable;
 use uucore::error::{UResult, USimpleError, UUsageError};
 
-const ABOUT: &str = "Translate or delete characters";
-const USAGE: &str = "{} [OPTION]... SET1 [SET2]";
-const LONG_USAGE: &str = "\
-    Translate, squeeze, and/or delete characters from standard input, \
-    writing to standard output.";
+const ABOUT: &str = help_about!("tr.md");
+const AFTER_HELP: &str = help_section!("after help", "tr.md");
+const USAGE: &str = help_usage!("tr.md");
 
 mod options {
     pub const COMPLEMENT: &str = "complement";
@@ -208,7 +204,7 @@
 pub fn uumain(args: impl uucore::Args) -> UResult<()> {
     let args = args.collect_lossy();
 
-    let matches = uu_app().after_help(LONG_USAGE).try_get_matches_from(args)?;
+    let matches = uu_app().after_help(AFTER_HELP).try_get_matches_from(args)?;
 
     let delete_flag = matches.get_flag(options::DELETE);
     let complement_flag = matches.get_flag(options::COMPLEMENT);
diff --git a/dev/uu_sort/enum.GeneralF64ParseResult.html b/dev/uu_sort/enum.GeneralF64ParseResult.html
index d8154fc73..17da1ae61 100644
--- a/dev/uu_sort/enum.GeneralF64ParseResult.html
+++ b/dev/uu_sort/enum.GeneralF64ParseResult.html
@@ -1,14 +1,14 @@
-GeneralF64ParseResult in uu_sort - Rust
pub enum GeneralF64ParseResult {
+GeneralF64ParseResult in uu_sort - Rust
pub enum GeneralF64ParseResult {
     Invalid,
     NaN,
     NegInfinity,
     Number(f64),
     Infinity,
-}

Variants§

§

Invalid

§

NaN

§

NegInfinity

§

Number(f64)

§

Infinity

Trait Implementations§

source§

impl Clone for GeneralF64ParseResult

source§

fn clone(&self) -> GeneralF64ParseResult

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GeneralF64ParseResult

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<GeneralF64ParseResult> for GeneralF64ParseResult

source§

fn eq(&self, other: &GeneralF64ParseResult) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

Invalid

§

NaN

§

NegInfinity

§

Number(f64)

§

Infinity

Trait Implementations§

source§

impl Clone for GeneralF64ParseResult

source§

fn clone(&self) -> GeneralF64ParseResult

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GeneralF64ParseResult

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<GeneralF64ParseResult> for GeneralF64ParseResult

source§

fn eq(&self, other: &GeneralF64ParseResult) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<GeneralF64ParseResult> for GeneralF64ParseResult

source§

fn partial_cmp(&self, other: &GeneralF64ParseResult) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<GeneralF64ParseResult> for GeneralF64ParseResult

source§

fn partial_cmp(&self, other: &GeneralF64ParseResult) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Copy for GeneralF64ParseResult

source§

impl StructuralPartialEq for GeneralF64ParseResult

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +operator. Read more

source§

impl Copy for GeneralF64ParseResult

source§

impl StructuralPartialEq for GeneralF64ParseResult

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/dev/uu_sort/fn.uu_app.html b/dev/uu_sort/fn.uu_app.html index 2e0e7fbfc..2945e82bd 100644 --- a/dev/uu_sort/fn.uu_app.html +++ b/dev/uu_sort/fn.uu_app.html @@ -1 +1 @@ -uu_app in uu_sort - Rust

Function uu_sort::uu_app

source ·
pub fn uu_app() -> Command
\ No newline at end of file +uu_app in uu_sort - Rust

Function uu_sort::uu_app

source ·
pub fn uu_app() -> Command
\ No newline at end of file diff --git a/dev/uu_sort/fn.uumain.html b/dev/uu_sort/fn.uumain.html index efaecf4bf..3631d97e9 100644 --- a/dev/uu_sort/fn.uumain.html +++ b/dev/uu_sort/fn.uumain.html @@ -1 +1 @@ -uumain in uu_sort - Rust

Function uu_sort::uumain

source ·
pub fn uumain(args: impl Args) -> i32
\ No newline at end of file +uumain in uu_sort - Rust

Function uu_sort::uumain

source ·
pub fn uumain(args: impl Args) -> i32
\ No newline at end of file diff --git a/dev/uu_sort/index.html b/dev/uu_sort/index.html index 7d29e17e1..931282af1 100644 --- a/dev/uu_sort/index.html +++ b/dev/uu_sort/index.html @@ -1 +1 @@ -uu_sort - Rust
\ No newline at end of file +uu_sort - Rust
\ No newline at end of file diff --git a/dev/uu_sort/struct.GlobalSettings.html b/dev/uu_sort/struct.GlobalSettings.html index 8c1b17ddc..43344808c 100644 --- a/dev/uu_sort/struct.GlobalSettings.html +++ b/dev/uu_sort/struct.GlobalSettings.html @@ -1,4 +1,4 @@ -GlobalSettings in uu_sort - Rust

Struct uu_sort::GlobalSettings

source ·
pub struct GlobalSettings { /* private fields */ }

Trait Implementations§

source§

impl Clone for GlobalSettings

source§

fn clone(&self) -> GlobalSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for GlobalSettings

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +GlobalSettings in uu_sort - Rust

Struct uu_sort::GlobalSettings

source ·
pub struct GlobalSettings { /* private fields */ }

Trait Implementations§

source§

impl Clone for GlobalSettings

source§

fn clone(&self) -> GlobalSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for GlobalSettings

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/dev/uu_sort/struct.Line.html b/dev/uu_sort/struct.Line.html index 3212e9d1d..a982234fa 100644 --- a/dev/uu_sort/struct.Line.html +++ b/dev/uu_sort/struct.Line.html @@ -1,4 +1,4 @@ -Line in uu_sort - Rust

Struct uu_sort::Line

source ·
pub struct Line<'a> { /* private fields */ }

Trait Implementations§

source§

impl<'a> Clone for Line<'a>

source§

fn clone(&self) -> Line<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Line<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Line<'a>

§

impl<'a> Send for Line<'a>

§

impl<'a> Sync for Line<'a>

§

impl<'a> Unpin for Line<'a>

§

impl<'a> UnwindSafe for Line<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere +Line in uu_sort - Rust

Struct uu_sort::Line

source ·
pub struct Line<'a> { /* private fields */ }

Trait Implementations§

source§

impl<'a> Clone for Line<'a>

source§

fn clone(&self) -> Line<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Line<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Line<'a>

§

impl<'a> Send for Line<'a>

§

impl<'a> Sync for Line<'a>

§

impl<'a> Unpin for Line<'a>

§

impl<'a> UnwindSafe for Line<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/dev/uu_sort/struct.Output.html b/dev/uu_sort/struct.Output.html index c94bda728..4399f4ede 100644 --- a/dev/uu_sort/struct.Output.html +++ b/dev/uu_sort/struct.Output.html @@ -1,4 +1,4 @@ -Output in uu_sort - Rust

Struct uu_sort::Output

source ·
pub struct Output { /* private fields */ }

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +Output in uu_sort - Rust

Struct uu_sort::Output

source ·
pub struct Output { /* private fields */ }

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/dev/uu_tr/fn.uu_app.html b/dev/uu_tr/fn.uu_app.html index 6c4ca9886..fbdf473d8 100644 --- a/dev/uu_tr/fn.uu_app.html +++ b/dev/uu_tr/fn.uu_app.html @@ -1 +1 @@ -uu_app in uu_tr - Rust

Function uu_tr::uu_app

source ·
pub fn uu_app() -> Command
\ No newline at end of file +uu_app in uu_tr - Rust

Function uu_tr::uu_app

source ·
pub fn uu_app() -> Command
\ No newline at end of file diff --git a/dev/uu_tr/fn.uumain.html b/dev/uu_tr/fn.uumain.html index 71da437b6..33479973e 100644 --- a/dev/uu_tr/fn.uumain.html +++ b/dev/uu_tr/fn.uumain.html @@ -1 +1 @@ -uumain in uu_tr - Rust

Function uu_tr::uumain

source ·
pub fn uumain(args: impl Args) -> i32
\ No newline at end of file +uumain in uu_tr - Rust

Function uu_tr::uumain

source ·
pub fn uumain(args: impl Args) -> i32
\ No newline at end of file diff --git a/dev/uu_tr/index.html b/dev/uu_tr/index.html index 2f5dbcce8..ccaee6bb8 100644 --- a/dev/uu_tr/index.html +++ b/dev/uu_tr/index.html @@ -1 +1 @@ -uu_tr - Rust
\ No newline at end of file +uu_tr - Rust
\ No newline at end of file