-
Notifications
You must be signed in to change notification settings - Fork 53
Not able to run diff2html-cli on both windows and wsl #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What are you expecting that command to do? |
@rtfpessoa for some reason I could never figure out, diff2html simply does not work under Powershell. No matter what I try, it will always return the help menu, with only one reason
For example the command I suspect it has to do with arguments after |
I don't have a windows computer to test atm so I is a bit hard to validade without more information |
Okay, I took a look at it, and it's because Powershell will drop double hyphens
diff2html will never see Value of
Value of
For the command to work under Powershell, the user needs to escape the double hyphens
or
It's ugly and there's basically nothing diff2html can do about it. But it could be worth an addition to the README, because most Powershell syntax never uses double hyphens, and users are little-aware about this. |
Hi Recently i've updated DIff2html-cli on my machine. This is the command i've used "diff2html -s side -F output.html -- file1.txt file2.txt" But all i'm getting is unknown arguments file1.txt, file2.txt. Can anyone help me with this.

And also somehow its working on my friends machine. But he is using this flad "--renderNothingWhenEmpty". Here's the command he used "diff2html -s side --renderNothingWhenEmpty -F output.html -- file1.txt file2.txt". But for him the html report is getting generated even when there are no differences.
I used a windows 10 machine and we have wsl installed with ubuntu 20.04. the machine is a dell precision5560.
The text was updated successfully, but these errors were encountered: