Fix formatting

This commit is contained in:
Mahmoud Al-Qudsi 2024-06-23 18:01:31 -05:00
parent 1a18d06a57
commit 2f46186f2b

View file

@ -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]