Skip to content
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

savedir at the end of the command string fails to use path when following -os -lang or -skipfiles #86

Open
mharmless opened this issue Feb 4, 2023 · 3 comments

Comments

@mharmless
Copy link

mharmless commented Feb 4, 2023

All three options seem to treat the last argument, savedir as an attempt to give them an option. With -os it will complain that the specified os is not one of the valid os types. With -lang it will complain that specified language is not one of the valid languages, and finally with -skipfiles it will run but it will act on your current directory and not the supplied path, implying that the path has been entered as string to skip instead of accepted as savedir.

I don't see an option like -savedir, so I don't see a way to break the option out of itself. I've adjusted to just run the script in the folder I want the work done in order to work around this issue.

@Kalanyr
Copy link
Owner

Kalanyr commented Feb 4, 2023 via email

@mharmless
Copy link
Author

Reordering this way does work. All the help files list savedir last so I was putting it there without any further thought, I don't know why it didn't even occur to me to change the order instead.

@Kalanyr
Copy link
Owner

Kalanyr commented Feb 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants