diff --git a/src/uu/pinky/src/pinky.rs b/src/uu/pinky/src/pinky.rs index b5ad2c5c9..437c20cf5 100644 --- a/src/uu/pinky/src/pinky.rs +++ b/src/uu/pinky/src/pinky.rs @@ -36,6 +36,7 @@ mod options { pub const OMIT_NAME_HOST: &str = "omit_name_host"; pub const OMIT_NAME_HOST_TIME: &str = "omit_name_host_time"; pub const USER: &str = "user"; + pub const HELP: &str = "help"; } fn get_long_usage() -> String { @@ -180,6 +181,13 @@ pub fn uu_app<'a>() -> Command<'a> { .takes_value(true) .multiple_occurrences(true), ) + .arg( + // Redefine the help argument to not include the short flag + // since that conflicts with omit_project_file. + Arg::new(options::HELP) + .long(options::HELP) + .help("Print help information"), + ) } struct Pinky {