pub fn uu_app() -> Commanddiff --git a/dev/src/uu_more/more.rs.html b/dev/src/uu_more/more.rs.html index 31d1af64d..c9fffd12e 100644 --- a/dev/src/uu_more/more.rs.html +++ b/dev/src/uu_more/more.rs.html @@ -509,6 +509,10 @@ 509 510 511 +512 +513 +514 +515
// * This file is part of the uutils coreutils package.
// *
// * (c) Martin Kysel <code@martinkysel.com>
@@ -539,7 +543,10 @@
use unicode_width::UnicodeWidthStr;
use uucore::display::Quotable;
use uucore::error::{UResult, USimpleError, UUsageError};
+use uucore::{format_usage, help_about, help_usage};
+const ABOUT: &str = help_about!("more.md");
+const USAGE: &str = help_usage!("more.md");
const BELL: &str = "\x07";
pub mod options {
@@ -608,7 +615,8 @@
pub fn uu_app() -> Command {
Command::new(uucore::util_name())
- .about("A file perusal filter for CRT viewing.")
+ .about(ABOUT)
+ .override_usage(format_usage(USAGE))
.version(crate_version!())
.infer_long_args(true)
.arg(
diff --git a/dev/src/uu_nice/nice.rs.html b/dev/src/uu_nice/nice.rs.html
index cd6c19b54..0faf6ae6f 100644
--- a/dev/src/uu_nice/nice.rs.html
+++ b/dev/src/uu_nice/nice.rs.html
@@ -209,10 +209,6 @@
209
210
211
-212
-213
-214
-215
// * This file is part of the uutils coreutils package.
// *
// * (c) Alex Lyon <arcterus@mail.com>
@@ -230,7 +226,7 @@
use clap::{crate_version, Arg, ArgAction, Command};
use uucore::{
error::{set_exit_code, UClapError, UResult, USimpleError, UUsageError},
- format_usage, show_error,
+ format_usage, help_about, help_usage, show_error,
};
pub mod options {
@@ -238,12 +234,8 @@
pub static COMMAND: &str = "COMMAND";
}
-const ABOUT: &str = "\
- Run COMMAND with an adjusted niceness, which affects process scheduling. \
- With no COMMAND, print the current niceness. Niceness values range from at \
- least -20 (most favorable to the process) to 19 (least favorable to the \
- process).";
-const USAGE: &str = "{} [OPTIONS] [COMMAND [ARGS]]";
+const ABOUT: &str = help_about!("nice.md");
+const USAGE: &str = help_usage!("nice.md");
fn is_prefix_of(maybe_prefix: &str, target: &str, min_match: usize) -> bool {
if maybe_prefix.len() < min_match || maybe_prefix.len() > target.len() {
diff --git a/dev/uu_more/fn.uu_app.html b/dev/uu_more/fn.uu_app.html
index eee2cdc17..7b0432f54 100644
--- a/dev/uu_more/fn.uu_app.html
+++ b/dev/uu_more/fn.uu_app.html
@@ -1 +1 @@
-uu_app in uu_more - Rust
\ No newline at end of file
+uu_app in uu_more - Rust
\ No newline at end of file
diff --git a/dev/uu_more/fn.uumain.html b/dev/uu_more/fn.uumain.html
index 57d28d6dd..f1340d899 100644
--- a/dev/uu_more/fn.uumain.html
+++ b/dev/uu_more/fn.uumain.html
@@ -1 +1 @@
-uumain in uu_more - Rust
\ No newline at end of file
+uumain in uu_more - Rust
\ No newline at end of file
diff --git a/dev/uu_more/index.html b/dev/uu_more/index.html
index 2af2878d6..6262bfaa7 100644
--- a/dev/uu_more/index.html
+++ b/dev/uu_more/index.html
@@ -1 +1 @@
-uu_more - Rust
\ No newline at end of file
+uu_more - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.CLEAN_PRINT.html b/dev/uu_more/options/constant.CLEAN_PRINT.html
index 62c45593a..7d67a3bb5 100644
--- a/dev/uu_more/options/constant.CLEAN_PRINT.html
+++ b/dev/uu_more/options/constant.CLEAN_PRINT.html
@@ -1 +1 @@
-CLEAN_PRINT in uu_more::options - Rust Constant uu_more::options::CLEAN_PRINT
source · pub const CLEAN_PRINT: &str = "clean-print";
\ No newline at end of file
+CLEAN_PRINT in uu_more::options - Rust Constant uu_more::options::CLEAN_PRINT
source · pub const CLEAN_PRINT: &str = "clean-print";
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.FILES.html b/dev/uu_more/options/constant.FILES.html
index 07f53efe6..1461254de 100644
--- a/dev/uu_more/options/constant.FILES.html
+++ b/dev/uu_more/options/constant.FILES.html
@@ -1 +1 @@
-FILES in uu_more::options - Rust
\ No newline at end of file
+FILES in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.FROM_LINE.html b/dev/uu_more/options/constant.FROM_LINE.html
index e0714b3fa..0bc7be0b6 100644
--- a/dev/uu_more/options/constant.FROM_LINE.html
+++ b/dev/uu_more/options/constant.FROM_LINE.html
@@ -1 +1 @@
-FROM_LINE in uu_more::options - Rust
\ No newline at end of file
+FROM_LINE in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.LINES.html b/dev/uu_more/options/constant.LINES.html
index cd78397e2..6919bc534 100644
--- a/dev/uu_more/options/constant.LINES.html
+++ b/dev/uu_more/options/constant.LINES.html
@@ -1 +1 @@
-LINES in uu_more::options - Rust
\ No newline at end of file
+LINES in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.LOGICAL.html b/dev/uu_more/options/constant.LOGICAL.html
index 164a38852..e2c62c3fa 100644
--- a/dev/uu_more/options/constant.LOGICAL.html
+++ b/dev/uu_more/options/constant.LOGICAL.html
@@ -1 +1 @@
-LOGICAL in uu_more::options - Rust
\ No newline at end of file
+LOGICAL in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.NO_PAUSE.html b/dev/uu_more/options/constant.NO_PAUSE.html
index c11c20ed2..c22087e9f 100644
--- a/dev/uu_more/options/constant.NO_PAUSE.html
+++ b/dev/uu_more/options/constant.NO_PAUSE.html
@@ -1 +1 @@
-NO_PAUSE in uu_more::options - Rust
\ No newline at end of file
+NO_PAUSE in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.NUMBER.html b/dev/uu_more/options/constant.NUMBER.html
index 0029663cd..47fb0c415 100644
--- a/dev/uu_more/options/constant.NUMBER.html
+++ b/dev/uu_more/options/constant.NUMBER.html
@@ -1 +1 @@
-NUMBER in uu_more::options - Rust
\ No newline at end of file
+NUMBER in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.PATTERN.html b/dev/uu_more/options/constant.PATTERN.html
index 7d0792306..d9ee721c7 100644
--- a/dev/uu_more/options/constant.PATTERN.html
+++ b/dev/uu_more/options/constant.PATTERN.html
@@ -1 +1 @@
-PATTERN in uu_more::options - Rust
\ No newline at end of file
+PATTERN in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.PLAIN.html b/dev/uu_more/options/constant.PLAIN.html
index 3310b5db5..799b8bfc3 100644
--- a/dev/uu_more/options/constant.PLAIN.html
+++ b/dev/uu_more/options/constant.PLAIN.html
@@ -1 +1 @@
-PLAIN in uu_more::options - Rust
\ No newline at end of file
+PLAIN in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.PRINT_OVER.html b/dev/uu_more/options/constant.PRINT_OVER.html
index 89111f6fc..8aec016ae 100644
--- a/dev/uu_more/options/constant.PRINT_OVER.html
+++ b/dev/uu_more/options/constant.PRINT_OVER.html
@@ -1 +1 @@
-PRINT_OVER in uu_more::options - Rust Constant uu_more::options::PRINT_OVER
source · pub const PRINT_OVER: &str = "print-over";
\ No newline at end of file
+PRINT_OVER in uu_more::options - Rust Constant uu_more::options::PRINT_OVER
source · pub const PRINT_OVER: &str = "print-over";
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.SILENT.html b/dev/uu_more/options/constant.SILENT.html
index 5f0948380..1fec23896 100644
--- a/dev/uu_more/options/constant.SILENT.html
+++ b/dev/uu_more/options/constant.SILENT.html
@@ -1 +1 @@
-SILENT in uu_more::options - Rust
\ No newline at end of file
+SILENT in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/constant.SQUEEZE.html b/dev/uu_more/options/constant.SQUEEZE.html
index 2fec177bd..e3e41e47f 100644
--- a/dev/uu_more/options/constant.SQUEEZE.html
+++ b/dev/uu_more/options/constant.SQUEEZE.html
@@ -1 +1 @@
-SQUEEZE in uu_more::options - Rust
\ No newline at end of file
+SQUEEZE in uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_more/options/index.html b/dev/uu_more/options/index.html
index af6ce5250..e1a5e4313 100644
--- a/dev/uu_more/options/index.html
+++ b/dev/uu_more/options/index.html
@@ -1 +1 @@
-uu_more::options - Rust
\ No newline at end of file
+uu_more::options - Rust
\ No newline at end of file
diff --git a/dev/uu_nice/fn.uu_app.html b/dev/uu_nice/fn.uu_app.html
index 4714db57a..0b7b31655 100644
--- a/dev/uu_nice/fn.uu_app.html
+++ b/dev/uu_nice/fn.uu_app.html
@@ -1 +1 @@
-uu_app in uu_nice - Rust
\ No newline at end of file
+uu_app in uu_nice - Rust
\ No newline at end of file
diff --git a/dev/uu_nice/fn.uumain.html b/dev/uu_nice/fn.uumain.html
index 3df6370d3..7d89f3ce3 100644
--- a/dev/uu_nice/fn.uumain.html
+++ b/dev/uu_nice/fn.uumain.html
@@ -1 +1 @@
-uumain in uu_nice - Rust
\ No newline at end of file
+uumain in uu_nice - Rust
\ No newline at end of file
diff --git a/dev/uu_nice/index.html b/dev/uu_nice/index.html
index fbf141835..a24822ed1 100644
--- a/dev/uu_nice/index.html
+++ b/dev/uu_nice/index.html
@@ -1 +1 @@
-uu_nice - Rust
\ No newline at end of file
+uu_nice - Rust
\ No newline at end of file