Paludis Logo Introduction cave  
Bugs, Requests, Support    
Overview    
FAQ    
Clients    
Configuration    
API    

cave print-spec

Name

cave-print-spec — Prints a dependency spec.

Synopsis

cave print-spec spec

DESCRIPTION

Parses a dependency spec and prints it out, possibly after applying certain modifications. 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

Modification Options

Options for modifying the spec. If an empty string is specified for a modification, that requirement is removed.

--package
Specify the cat/pkg requirement.
--slot
Specify the slot requirement.
--in-repository
Specify the in-repository requirement.
--from-repository
Specify the from-repository requirement.
--installable-to-repository
Specify the installable-to-repository requirement.
--installed-at-path
Specify the installed-at-path requirement.
--installable-to-path
Specify the installable-to-path requirement.
--package-part
Specify the /pkg requirement.
--category-part
Specify the cat/ requirement.
--version-requirement
Specify a version requirement. May be specified multiple times. If specified at all, replaces all version requirements. Use a single empty string to remove all version requirements.
--version-requirements-mode

Specify the mode of version requirements.

default
Do not change the version requirements mode (default)
and
And
or
Or
--additional-requirement
Specify an additional requirement. May be specified multiple times.