mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #1139 from king6cong/master
remove nightly complier warnings
This commit is contained in:
commit
f333ab26b0
2 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ use std::str::FromStr;
|
||||||
use uucore::fs::{canonicalize, CanonicalizeMode};
|
use uucore::fs::{canonicalize, CanonicalizeMode};
|
||||||
use walkdir::WalkDir;
|
use walkdir::WalkDir;
|
||||||
#[cfg(target_os = "linux")] use std::os::unix::io::IntoRawFd;
|
#[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 std::fs::OpenOptions;
|
||||||
use filetime::FileTime;
|
use filetime::FileTime;
|
||||||
|
|
||||||
|
|
|
@ -105,8 +105,8 @@ fn create_getopts_options() -> getopts::Options {
|
||||||
"limit dump to BYTES input bytes", "BYTES");
|
"limit dump to BYTES input bytes", "BYTES");
|
||||||
opts.optopt("", "endian", "byte order to use for multi-byte formats", "big|little");
|
opts.optopt("", "endian", "byte order to use for multi-byte formats", "big|little");
|
||||||
opts.optopt("S", "strings",
|
opts.optopt("S", "strings",
|
||||||
("output strings of at least BYTES graphic chars. 3 is assumed when \
|
"output strings of at least BYTES graphic chars. 3 is assumed when \
|
||||||
BYTES is not specified."),
|
BYTES is not specified.",
|
||||||
"BYTES");
|
"BYTES");
|
||||||
opts.optflagmulti("a", "", "named characters, ignoring high-order bit");
|
opts.optflagmulti("a", "", "named characters, ignoring high-order bit");
|
||||||
opts.optflagmulti("b", "", "octal bytes");
|
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.optmulti("t", "format", "select output format or formats", "TYPE");
|
||||||
opts.optflag("v", "output-duplicates", "do not use * to mark line suppression");
|
opts.optflag("v", "output-duplicates", "do not use * to mark line suppression");
|
||||||
opts.optflagopt("w", "width",
|
opts.optflagopt("w", "width",
|
||||||
("output BYTES bytes per output line. 32 is implied when BYTES is not \
|
"output BYTES bytes per output line. 32 is implied when BYTES is not \
|
||||||
specified."),
|
specified.",
|
||||||
"BYTES");
|
"BYTES");
|
||||||
opts.optflag("", "help", "display this help and exit.");
|
opts.optflag("", "help", "display this help and exit.");
|
||||||
opts.optflag("", "version", "output version information and exit.");
|
opts.optflag("", "version", "output version information and exit.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue