diff --git a/build.rs b/build.rs index bb4e2b5..a439033 100644 --- a/build.rs +++ b/build.rs @@ -1,4 +1,4 @@ -// This file is part of the uutils coreutils package. +// This file is part of the uutils procps package. // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. diff --git a/src/bin/procps.rs b/src/bin/procps.rs index fc2cd16..9a6b157 100644 --- a/src/bin/procps.rs +++ b/src/bin/procps.rs @@ -1,4 +1,4 @@ -// This file is part of the uutils coreutils package. +// This file is part of the uutils procps package. // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. @@ -142,7 +142,7 @@ fn gen_completions( args: impl Iterator, util_map: &UtilityMap, ) -> ! { - let all_utilities: Vec<_> = std::iter::once("coreutils") + let all_utilities: Vec<_> = std::iter::once("procps") .chain(util_map.keys().copied()) .collect(); @@ -163,8 +163,8 @@ fn gen_completions( let utility = matches.get_one::("utility").unwrap(); let shell = *matches.get_one::("shell").unwrap(); - let mut command = if utility == "coreutils" { - gen_coreutils_app(util_map) + let mut command = if utility == "procps" { + gen_procps_app(util_map) } else { util_map.get(utility).unwrap().1() }; @@ -180,7 +180,7 @@ fn gen_manpage( args: impl Iterator, util_map: &UtilityMap, ) -> ! { - let all_utilities: Vec<_> = std::iter::once("coreutils") + let all_utilities: Vec<_> = std::iter::once("procps") .chain(util_map.keys().copied()) .collect(); @@ -195,8 +195,8 @@ fn gen_manpage( let utility = matches.get_one::("utility").unwrap(); - let command = if utility == "coreutils" { - gen_coreutils_app(util_map) + let command = if utility == "procps" { + gen_procps_app(util_map) } else { util_map.get(utility).unwrap().1() }; @@ -208,8 +208,8 @@ fn gen_manpage( process::exit(0); } -fn gen_coreutils_app(util_map: &UtilityMap) -> Command { - let mut command = Command::new("coreutils"); +fn gen_procps_app(util_map: &UtilityMap) -> Command { + let mut command = Command::new("procps"); for (name, (_, sub_app)) in util_map { // Recreate a small subcommand with only the relevant info // (name & short description) diff --git a/src/bin/uudoc.rs b/src/bin/uudoc.rs index 77c7a2f..3cefbfb 100644 --- a/src/bin/uudoc.rs +++ b/src/bin/uudoc.rs @@ -1,4 +1,4 @@ -// This file is part of the uutils coreutils package. +// This file is part of the uutils procps package. // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. diff --git a/tests/common/macros.rs b/tests/common/macros.rs index 4902ca4..e5f23d3 100644 --- a/tests/common/macros.rs +++ b/tests/common/macros.rs @@ -1,4 +1,4 @@ -// This file is part of the uutils coreutils package. +// This file is part of the uutils procps package. // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. @@ -77,7 +77,7 @@ macro_rules! at_and_ucmd { } /// If `common::util::expected_result` returns an error, i.e. the `util` in `$PATH` doesn't -/// include a coreutils version string or the version is too low, +/// include a procps version string or the version is too low, /// this macro can be used to automatically skip the test and print the reason. #[macro_export] macro_rules! unwrap_or_return { diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 05e2b13..3e9568a 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -1,4 +1,4 @@ -// This file is part of the uutils coreutils package. +// This file is part of the uutils procps package. // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. diff --git a/tests/common/random.rs b/tests/common/random.rs index 42b6eaa..672e49f 100644 --- a/tests/common/random.rs +++ b/tests/common/random.rs @@ -1,4 +1,4 @@ -// This file is part of the uutils coreutils package. +// This file is part of the uutils procps package. // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. diff --git a/tests/tests.rs b/tests/tests.rs index 0b01717..7fc2305 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,4 +1,4 @@ -// This file is part of the uutils coreutils package. +// This file is part of the uutils procps package. // // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code.