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

ipptoolfile man page: Document method to reference collection members and logical operators for predicates #274

Closed
wifiprintguy opened this issue Oct 14, 2022 · 2 comments
Assignees
Labels

Comments

@wifiprintguy
Copy link
Contributor

wifiprintguy commented Oct 14, 2022

The man page for ipptoolfile doesn't seem to clearly include a description of how a test can reference a particular member within a collection, nor does it document what logical operators can be used for the values.

For members of a collection, a "path" is used, like so:

EXPECT finishings-col/baling OF-TYPE collection

It also isn't clear what logical operators the author of a .test file could use in a predicate. For instance, they might want to include an EXPECT directive like so:

EXPECT uri-authentication-supported OF-TYPE keyword IN-GROUP printer-attributes-tag WITH-VALUE 'basic' | 'certificate' | 'digest' | 'negotiate' | 'OAuth 2.0'

(If the latter isn't possible then I'll file a separate enhancement request...)

@michaelrsweet
Copy link
Contributor

This should be filed against the libcups project since we import ipptool from it. Thanks!

@wifiprintguy
Copy link
Contributor Author

I'll move it over there - thanks!

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

No branches or pull requests

2 participants