-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
-and parameter seems to only work for the default journal #520
Comments
Tested and got the same result. Seems like a bug. I think it's related to implementation of argparse module here. |
Running into the same issue. Is there a workaround- i.e. is there a syntax that anyone can recommend that will let me search my history easily? |
@infomofo I have had success using |
@mysticmind what your saying is wrong, I can confirm im facing the same ISSUE as the OP... i try to use I have my journal use not the default one but the tuts journal... I hope there can be a way to filter down by tags globally and by journal without getting error... |
OK i think this will FIX the issue for the OP .. and mine... This should be written in the DOCUMENTATION please... the one that works for me was The Docs Should Clearly Specify that if you are using Advance Set up or multiple jrnls then the -and should be declared LAST after your @tags .... |
Confirmed the issue still exists in v2.0-rc2. This should be fixed, but the above can be a workaround for now. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Trying to reproduce this issue, and I'm finding that it works if I put "-and" at the beginning or end of the argument list, but not anywhere else. Here I am searching a journal called "second":
|
Fixes jrnl-org#520 -and parameter seems to only work for the default journal
Fixes jrnl-org#520 -and parameter seems to only work for the default journal
Fixes jrnl-org#520 -and parameter seems to only work for the default journal
Fixes jrnl-org#520 -and parameter seems to only work for the default journal
Fixes #520 -and parameter seems to only work for the default journal
Fixes #520 -and parameter seems to only work for the default journal
I have two journals setup like this:
If I want to view all entries with the tags
@x
and@y
for the default log I write this:which nicely lists the correct entries. If I want to achieve the same for my
work
log I write this:jrnl work -and @x @y
and this error gets thrown:Am I misunderstanding how to use the
-and
parameter for non-default journals, or is this a bug?The text was updated successfully, but these errors were encountered: