mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Fix formatting
This commit is contained in:
parent
1a18d06a57
commit
2f46186f2b
1 changed files with 3 additions and 5 deletions
|
@ -67,11 +67,9 @@ fn parse_cmd_opts(
|
||||||
} else {
|
} else {
|
||||||
let scale = fish_wcstoi(optarg).unwrap_or(-1);
|
let scale = fish_wcstoi(optarg).unwrap_or(-1);
|
||||||
if scale < 0 || scale > 15 {
|
if scale < 0 || scale > 15 {
|
||||||
streams.err.append(wgettext_fmt!(
|
streams
|
||||||
"%ls: %ls: invalid scale\n",
|
.err
|
||||||
cmd,
|
.append(wgettext_fmt!("%ls: %ls: invalid scale\n", cmd, optarg));
|
||||||
optarg
|
|
||||||
));
|
|
||||||
return Err(STATUS_INVALID_ARGS);
|
return Err(STATUS_INVALID_ARGS);
|
||||||
}
|
}
|
||||||
// We know the value is in the range [0, 15]
|
// We know the value is in the range [0, 15]
|
||||||
|
|
Loading…
Reference in a new issue