You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If prefixed with '+' or '-', the value will be treated as an offset to the actual terminal width.
However, executing produces an error.
$ bat --terminal-width -10 foo.md
error: Found argument '-1' which wasn't expected, or isn't valid in this context
USAGE:
bat --terminal-width <width> --theme <theme>
For more information try --help
Using a positive offset (+10) or fixed value (120) both behave as expected.
The text was updated successfully, but these errors were encountered:
The dash appears to be interpreted as a flag.
The man page says:
However, executing produces an error.
Using a positive offset (
+10
) or fixed value (120
) both behave as expected.The text was updated successfully, but these errors were encountered: