-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
[BUG] Filename string after --output cannot begin with dash(-) due to mis-interpretated as option #236
Comments
Can you try surrounding the arguments with double quotes? e.g., chat_downloader "https://www.youtube.com/watch?v=-ZLltnPt5WM" -o "-ZLltnPt5WM.json" -q |
Forgot to mention, I'm using powershell. Neither single nor double quotes work. PSVersionTable
|
In that case, can you try:
|
Adding space will result in a space in actual filename, but bypass this problem successfully. My version of Windows dosen't trim leading space in filenames perhaps.
After test, |
I think we're hitting a limitation in argparse... The best approach is probably to use one of the following alternatives instead:
|
Basic information
Describe the bug
Filename string after --output cannot begin with dash(-) due to mis-interpretated as option.
Command/Code used
If running from the command line, provide the following:
-v
):Expected behavior
silently exits (success)
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context/information
Add any other context or information about the problem here.
The text was updated successfully, but these errors were encountered: