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
On Discord, you claimed that the docs suggestion failed for both cmd.exe and Powershell, right? I'm guessing you get different errors depending on which you use.
I have no idea about the parsing rule of Windows shells, but this might be fixed by 3f115cb in a way that invalid TOML expression is reported as an error. (I don't know if the documentation example is valid or not on PowerShell either.)
Can you check what was written to config.toml? I suspect the value expression would be parsed by the shell, and the resulting TOML expression would got wrong.
It would be nice if someone who use Windows can send a documentation fix.
AIUI Windows is weird in that cmd.exe doesn’t parse command lines itself, it relies on the program itself to do tokenization (usually by libc, I guess? I assume Rust implements whatever the “standard” syntax is); that seems like it could be relevant here. (I expect PowerShell does something different – I wouldn’t be surprised if it parses the command line and then serializes it back to a string for execution…)
Description
https://jj-vcs.github.io/jj/latest/windows/#pagination says that you can do:
To set the pager to less on Windows. However, that command fails with:
Manually editing the config file to set ui.pager to that value works fine.
Steps to Reproduce the Problem
error: unexpected argument '-F' found
Specifications
The text was updated successfully, but these errors were encountered: