Copyright (C) 2002-2020 Arnaud BERTRAND
web-site: http://apvsys.sourceforge.net
apv-setdefault
To enables the ApVSys administrator to change the default version of a tool without register the tool again. This is interesting when the entities registered were filtered (it is not needed to filter again).
apv-setdefault [-D] -t tool -v version
or
apv-setdefault [-D] -t tool/version
To set also the tool as default when command are registered for several tools. Normally, the entities (command,man pages,...) having another tool (not version) as default will keep this tool as default and only the default version will change. This option force all the commands related to the selected tool to use this tool/version as default.
specifies the tool (toolname).
specifies the version to set as default
Note: instead of "-t tool -v version", the syntax "-t tool/version" can also be used.
This option is mandatory (for logging purpose) to keep log of who changed what.
print a short help message
> apv-setdefault -t gcc -v 2.95.3
> apv-setdefault -t gcc/v2.95.3
> apv-setdefault -D -t ncsim/v3.4