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

join: remove NAME constant

This commit is contained in:
Daniel Hofstetter 2023-01-17 16:10:32 +01:00
parent 98f02f78d3
commit e09d718ca7

View file

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