1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #4282 from cakebaker/join_remove_name_constant

join: remove NAME constant
This commit is contained in:
Sylvestre Ledru 2023-01-17 17:32:22 +01:00 committed by GitHub
commit fb1ee80837
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,8 +24,6 @@ use uucore::display::Quotable;
use uucore::error::{set_exit_code, UError, UResult, USimpleError}; use uucore::error::{set_exit_code, UError, UResult, USimpleError};
use uucore::{crash, crash_if_err}; use uucore::{crash, crash_if_err};
static NAME: &str = "join";
#[derive(Debug)] #[derive(Debug)]
enum JoinError { enum JoinError {
IOError(std::io::Error), IOError(std::io::Error),
@ -699,7 +697,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
} }
pub fn uu_app() -> Command { pub fn uu_app() -> Command {
Command::new(NAME) Command::new(uucore::util_name())
.version(crate_version!()) .version(crate_version!())
.about( .about(
"For each pair of input lines with identical join fields, write a line to "For each pair of input lines with identical join fields, write a line to