-
Notifications
You must be signed in to change notification settings - Fork 4
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
Files are relative to cwd, not include files #39
Comments
If there is agreement that this is the right way to go, I'd be happy to submit a PR. |
Please include reproduction cases. By the fact that you are doing recursive loading, I'm going to make the assumption you are using parse_fromfile. In this case, we are specifically modeling the semantics off of another library and that libraries behavior is the expected behavior. If I'm reading the preference implementation correctly, it is always against CWD. However, the design allows users to provide their own policy for how to treat the response files so you can make it relative to the file being processed. |
Thanks for the info, I am indeed using If I did want to make it load relative to the current path, I don't see any way to do that. The |
Right, instead of replacing |
OK, fair enough. It's a bit of a shame that |
If I have
args/file1.txt
with:And
args/file2.txt
with:I would expect running a command line with
@args/file1.txt
would see--foo
as the files insideargs/file1.txt
should be interpreted relative toargs
(the directory the file is in). Currently all the files are interpreted relative to the cwd.The text was updated successfully, but these errors were encountered: