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

remove nightly complier warnings

This commit is contained in:
king6cong 2018-02-06 14:30:10 +08:00
parent 37f3e3a151
commit e3fedddd17
2 changed files with 5 additions and 5 deletions

View file

@ -46,7 +46,7 @@ use std::str::FromStr;
use uucore::fs::{canonicalize, CanonicalizeMode};
use walkdir::WalkDir;
#[cfg(target_os = "linux")] use std::os::unix::io::IntoRawFd;
use std::fs::File;
#[cfg(target_os = "linux")] use std::fs::File;
use std::fs::OpenOptions;
use filetime::FileTime;

View file

@ -105,8 +105,8 @@ fn create_getopts_options() -> getopts::Options {
"limit dump to BYTES input bytes", "BYTES");
opts.optopt("", "endian", "byte order to use for multi-byte formats", "big|little");
opts.optopt("S", "strings",
("output strings of at least BYTES graphic chars. 3 is assumed when \
BYTES is not specified."),
"output strings of at least BYTES graphic chars. 3 is assumed when \
BYTES is not specified.",
"BYTES");
opts.optflagmulti("a", "", "named characters, ignoring high-order bit");
opts.optflagmulti("b", "", "octal bytes");
@ -134,8 +134,8 @@ fn create_getopts_options() -> getopts::Options {
opts.optmulti("t", "format", "select output format or formats", "TYPE");
opts.optflag("v", "output-duplicates", "do not use * to mark line suppression");
opts.optflagopt("w", "width",
("output BYTES bytes per output line. 32 is implied when BYTES is not \
specified."),
"output BYTES bytes per output line. 32 is implied when BYTES is not \
specified.",
"BYTES");
opts.optflag("", "help", "display this help and exit.");
opts.optflag("", "version", "output version information and exit.");