Command-Line Parameters

The utility runs on OSes of the GNU/Linux family, FreeBSD or macOS and supports the following command-line parameters:

Parameter

Description

--help

Function: Output short help about command-line parameters to the console or terminal emulator and exit.

Short form: -h

Arguments: None.

--version

Function: Output information about the version of the utility to the console or terminal emulator and exit.

Short form: -v

Arguments: None.

--key

Function: Set a path to a key file.

Short form: None.

Arguments: <path to file>—full or relative path to the key file.

--drl

Function: Set a path to a .drl file comprising a URL of a mirror for updates.

Short form: None.

Arguments: <path to file>—full or relative path to the .drl file.

--ini

Function: Set a path to an .ini file comprising a URL of a mirror for updates.

Short form: None.

Arguments: <path to file>—full or relative path to the .ini file.

--antispam-drl

Function: Set a path to the .drl file comprising a URL of a mirror for antispam databases.

Short form: None.

Arguments: <path to file>—full or relative path to the .drl file.

--antispam-ini

Function: Set a path to an .ini file comprising a URL of a mirror for antispam databases.

Short form: None.

Arguments: <path to file>—full or relative path to the .ini file.

--bases-drl

Function: Set a path to a .drl file comprising a URL of a mirror for virus databases.

Short form: None.

Arguments: <path to file>—full or relative path to the .drl file.

--bases-ini

Function: Set a path to an .ini file comprising a URL of a mirror for virus databases.

Short form: None.

Arguments: <path to file>—full or relative path to the .ini file.

--dws-drl

Function: Set a path to a .drl file comprising a URL of a mirror for antispam databases.

Short form: None.

Arguments: <path to file>—full or relative path to the .drl file.

--dws-ini

Function: Set a path to an .ini file comprising a URL of a mirror for antispam databases.

Short form: None.

Arguments: <path to file>—full or relative path to the .ini file.

--path

Function: Set a path of a directory to store a local mirror.

Short form: None.

Arguments: <path to directory>—full or relative path to the directory.

--arch

Function: Set a target architecture.

Short form: None.

Arguments: <architecture>. Allowed values: x86, x86_64, e2k, aarch64, ppc64.

--cert-path

Function: Set a path to a file or a directory containing a certificate.

Short form: None.

Arguments: <path to file or directory>—full or relative path to a file or a directory containing the certificate.

--use-https

Function: Use a secure connection over HTTPS.

Short form: None.

Allowed values:

Always—use HTTPS for all connections;

ResListOnly—use HTTPS only to download a list of resources;

Never—do not use HTTPS.

Default value: ResListOnly.

--proxy

Function: Set proxy server parameters.

Short form: None.

Arguments: <server address:port number>—server address and a port number separated with a colon, for example, 127.0.0.1:80.

--network-timeout

Function: Set network timeout (in seconds).

Short form: None.

Allowed values: from 10 seconds (10) to 5 hours (18000).

Default value: 60.

--debug

Function: Show debug information while running a command.

Short form: -d

Arguments: None.

The utility can be used without installing Dr.Web products, however, the user must have access to a Dr.Web key file and a .drl or .ini file for a group of resources to be downloaded.

Unlike .drl files, .ini files comprise several mirror URLs, which allows to use a fall-back mirror if the default one is unavailable.

The following parameters must be indicated: --path, --key, any one of --bases-drl, --bases-ini, --antispam-drl, --antispam-ini, --dws-drl, --dws-ini, --drl or --ini keys, as well as a path to the corresponding .drl or .ini file.

The optional --arch parameter specifies a target architecture for downloading updates. If this parameter is not set, the updates are downloaded for the architecture of the computer that runs the utility. If the updates are intended for a computer of a different architecture, you must specify such an architecture after this parameter.