print-owners
Name
cave-print-owners — Prints a list of package IDs owning a given file.
Synopsis
cave print-owners [ --type algorithm ] [ --matching spec ] pattern
DESCRIPTION
Prints a list of package IDs owning a given file. No formatting is used, making the output suitable for parsing by scripts.
OPTIONS
Global Options
Global options, used by every subcommand.
- -h , --help
- display help message
Owner options
Alter how the search is performed.
- -t , --type
Which type of match algorithm to use
- auto
- If pattern starts with a /, full; if it contains a /, partial; otherwise, basename (default)
- basename
- Basename match
- full
- Full match
- partial
- Partial match
- -m , --matching
- Show only IDs matching this spec. If specified multiple times, only IDs matching every spec are selected.
Display Options
Controls the output format.
- -f , --format
- Select the output format. Special tokens recognised are %c for category, %p for package, %v for version, %s for slot, %S for slot in its native format, %: for ':' if we have a slot and empty otherwise, %r for repository, %F for the canonical full form, %V for the canonical full version, %W for the canonical full unversioned form, %N for the canonical full unnamed form, %u for a uniquely identifying dependency spec, %I is equivalent to %c/%p%:%s,\n for newline, \t for tab. Default is '%F\n'.