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:
commit
fb1ee80837
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue