diff --git a/src/od/od.rs b/src/od/od.rs index 488897a40..12a5fabea 100644 --- a/src/od/od.rs +++ b/src/od/od.rs @@ -138,7 +138,7 @@ fn create_getopts_options() -> getopts::Options { ("output BYTES bytes per output line. 32 is implied when BYTES is not \ specified."), "BYTES"); - opts.optflag("h", "help", "display this help and exit."); + opts.optflag("", "help", "display this help and exit."); opts.optflag("", "version", "output version information and exit."); opts.optflag("", "traditional", "compatibility mode with one input, offset and label."); @@ -277,7 +277,7 @@ pub fn uumain(args: Vec) -> i32 { } }; - if matches.opt_present("h") { + if matches.opt_present("help") { println!("{}", opts.usage(&USAGE)); return 0; }