mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +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 {
|
||||
let scale = fish_wcstoi(optarg).unwrap_or(-1);
|
||||
if scale < 0 || scale > 15 {
|
||||
streams.err.append(wgettext_fmt!(
|
||||
"%ls: %ls: invalid scale\n",
|
||||
cmd,
|
||||
optarg
|
||||
));
|
||||
streams
|
||||
.err
|
||||
.append(wgettext_fmt!("%ls: %ls: invalid scale\n", cmd, optarg));
|
||||
return Err(STATUS_INVALID_ARGS);
|
||||
}
|
||||
// We know the value is in the range [0, 15]
|
||||
|
|
Loading…
Reference in a new issue