mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #8150 from cakebaker/realpath_use_consts_for_opts
realpath: use consts for all options
This commit is contained in:
commit
f111113c97
1 changed files with 6 additions and 6 deletions
|
@ -21,17 +21,17 @@ use uucore::{
|
|||
show_if_err,
|
||||
};
|
||||
|
||||
static OPT_QUIET: &str = "quiet";
|
||||
static OPT_STRIP: &str = "strip";
|
||||
static OPT_ZERO: &str = "zero";
|
||||
static OPT_PHYSICAL: &str = "physical";
|
||||
static OPT_LOGICAL: &str = "logical";
|
||||
const OPT_QUIET: &str = "quiet";
|
||||
const OPT_STRIP: &str = "strip";
|
||||
const OPT_ZERO: &str = "zero";
|
||||
const OPT_PHYSICAL: &str = "physical";
|
||||
const OPT_LOGICAL: &str = "logical";
|
||||
const OPT_CANONICALIZE_MISSING: &str = "canonicalize-missing";
|
||||
const OPT_CANONICALIZE_EXISTING: &str = "canonicalize-existing";
|
||||
const OPT_RELATIVE_TO: &str = "relative-to";
|
||||
const OPT_RELATIVE_BASE: &str = "relative-base";
|
||||
|
||||
static ARG_FILES: &str = "files";
|
||||
const ARG_FILES: &str = "files";
|
||||
|
||||
#[uucore::main]
|
||||
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue