diff --git a/dev/src/uu_cp/cp.rs.html b/dev/src/uu_cp/cp.rs.html index ba9ab33c0..68c9c78b2 100644 --- a/dev/src/uu_cp/cp.rs.html +++ b/dev/src/uu_cp/cp.rs.html @@ -1887,6 +1887,7 @@ 1887 1888 1889 +1890
#![allow(clippy::missing_safety_doc)]
 #![allow(clippy::extra_unused_lifetimes)]
 
@@ -2188,7 +2189,10 @@
         .version(crate_version!())
         .about(ABOUT)
         .override_usage(format_usage(USAGE))
-        .after_help(AFTER_HELP)
+        .after_help(format!(
+            "{AFTER_HELP}\n\n{}",
+            backup_control::BACKUP_CONTROL_LONG_HELP
+        ))
         .infer_long_args(true)
         .arg(
             Arg::new(options::TARGET_DIRECTORY)
@@ -2450,13 +2454,11 @@
 
 #[uucore::main]
 pub fn uumain(args: impl uucore::Args) -> UResult<()> {
-    let matches = uu_app()
-        .after_help(backup_control::BACKUP_CONTROL_LONG_HELP)
-        .try_get_matches_from(args);
+    let matches = uu_app().try_get_matches_from(args);
 
     // The error is parsed here because we do not want version or help being printed to stderr.
     if let Err(e) = matches {
-        let mut app = uu_app().after_help(backup_control::BACKUP_CONTROL_LONG_HELP);
+        let mut app = uu_app();
 
         match e.kind() {
             clap::error::ErrorKind::DisplayHelp => {
diff --git a/dev/uu_cp/fn.localize_to_target.html b/dev/uu_cp/fn.localize_to_target.html
index b470d6548..edd72671d 100644
--- a/dev/uu_cp/fn.localize_to_target.html
+++ b/dev/uu_cp/fn.localize_to_target.html
@@ -1,4 +1,4 @@
-localize_to_target in uu_cp - Rust

Function uu_cp::localize_to_target

source ·
pub fn localize_to_target(
+localize_to_target in uu_cp - Rust

Function uu_cp::localize_to_target

source ·
pub fn localize_to_target(
     root: &Path,
     source: &Path,
     target: &Path
diff --git a/dev/uu_cp/fn.uu_app.html b/dev/uu_cp/fn.uu_app.html
index 3c5f2b272..c10e4debd 100644
--- a/dev/uu_cp/fn.uu_app.html
+++ b/dev/uu_cp/fn.uu_app.html
@@ -1 +1 @@
-uu_app in uu_cp - Rust

Function uu_cp::uu_app

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

Function uu_cp::uu_app

source ·
pub fn uu_app() -> Command
\ No newline at end of file diff --git a/dev/uu_cp/fn.uumain.html b/dev/uu_cp/fn.uumain.html index 429cb5221..45082918c 100644 --- a/dev/uu_cp/fn.uumain.html +++ b/dev/uu_cp/fn.uumain.html @@ -1 +1 @@ -uumain in uu_cp - Rust

Function uu_cp::uumain

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

Function uu_cp::uumain

source ·
pub fn uumain(args: impl Args) -> i32
\ No newline at end of file diff --git a/dev/uu_cp/fn.verify_target_type.html b/dev/uu_cp/fn.verify_target_type.html index 212d7999e..fbcad8c27 100644 --- a/dev/uu_cp/fn.verify_target_type.html +++ b/dev/uu_cp/fn.verify_target_type.html @@ -1,4 +1,4 @@ -verify_target_type in uu_cp - Rust

Function uu_cp::verify_target_type

source ·
pub fn verify_target_type(
+verify_target_type in uu_cp - Rust

Function uu_cp::verify_target_type

source ·
pub fn verify_target_type(
     target: &Path,
     target_type: &TargetType
 ) -> CopyResult<()>
Expand description

Generate an error message if target is not the correct target_type

diff --git a/dev/uu_cp/index.html b/dev/uu_cp/index.html index 95c6cee02..40eae301a 100644 --- a/dev/uu_cp/index.html +++ b/dev/uu_cp/index.html @@ -1,2 +1,2 @@ -uu_cp - Rust

Crate uu_cp

source ·

Structs

Enums

Functions