Sharibaev
Junior Member | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору Common options: -h [ --help ] Read this message -v [ --verbosity ] arg Log level. Can be one of following error, info, debug -d [ --data-dir ] arg Data directory where repository and configuration are placed --log-dir arg Directory for log --log-file arg (=dwupdater.log) Directory for log -r [ --repo-dir ] arg Repository directory, by default <data_dir>/repo, but can be specified separately -t [ --trace ] Enable backtrace -c [ --command ] arg (=update) Command to execute: getversions, getcomponents, getrevisions, init, update, uninstall, exec, keyupdate -z [ --zone ] arg Zone list which will be used instead of zones specified in configuration file. When specified with init command use them instead of that hardcoded by default init command specific options: -s [ --version ] arg Version name -p [ --product ] arg Product name. Key will be searched in component directory for component with same name as product name -a [ --path ] arg Product directory path. This directory will be used as default directory for all components included in product. And key file also will be searched there. -n [ --component ] arg Component name with install directory. Specifying them you can override installation directory for component. Format must be <name>,<install path>. -u [ --user ] arg Username for proxy server -k [ --password ] arg Password for proxy server -g [ --proxy ] arg Proxy-server for updater. <address>:<port> -e [ --exclude ] arg Component name that will be excluded from product update command specific options: -p [ --product ] arg Product name. Update only this product if specified. If not specified and no components specified, update all products. If not specified and components specified, update only specified components. If specified and components are specified, update all components in product and add target revision for some components -n [ --component ] arg Specify components if you want to update some components of product to explicit revision. In case when product not specified version parameter is required. Format must be <name>[,<target revision>] -x [ --selfrestart ] arg (=yes) Restart after update 'updater' component. yes/no. Default is 'yes' If not set updater return e_need_restart (6) --geo-update Trying to get list of IPs from update.drweb.com before updating --type arg (=normal) can be reset-all, reset-failed normal-failed or normal. reset-all - reset revisions to 0 in all components, reset all failed states to ok reset-failed - reset revision to 0 only for failed components normal-failed - try to update components even failed from current revision to newest or specified update-revision - try to update all components of current revision to newest if exists normal - update only component that are not failed -g [ --proxy ] arg Proxy-server for updater. <address>:<port> -u [ --user ] arg Username for proxy server -e [ --cpass ] arg Encrypted password for proxy server. -k [ --password ] arg Password for proxy server --param arg Additional script parameters that will be placed in global updater table. All parameters can be specified as positional. Format is name=value. -l [ --progress-to-console ] Print information about downloading and script executing to console. This can be helpfull if application want to show some progress bar whit current operation description. exec command specific options: -s [ --script ] arg Execute this script -f [ --func ] arg If specified execute this function in script -p [ --param ] arg Additional script parameters that will be placed in global updater table. All parameters can be specified as positional. Format is name=value. -l [ --progress-to-console ] Print information from script executing progress to console. This can be helpfull if application want to show some progress bar with current operation description. getcomponents command specific options: -s [ --version ] arg Version you want to lookup -p [ --product ] arg Specify product to see what components belongs to product. If not specified show all components in version getrevisions command specific options: -s [ --version ] arg Version you want to lookup -n [ --component ] arg Component name uninstall command specific options: -n [ --component ] arg Component name for uninstall. -l [ --progress-to-console ] Print information about executing to console. --param arg Additional script parameters that will be placed in global updater table. All parameters can be specified as positional. Format is name=value. -e [ --add-to-exclude ] Append components to exclude key autoupdate command specific options: -m [ --md5 ] arg md5 of old key. -o [ --output ] arg output file name to store new key -b [ --backup ] backup old file if exists -g [ --proxy ] arg Proxy-server for updater. <address>:<port> -u [ --user ] arg Username for proxy server -e [ --cpass ] arg Encrypted password for proxy server. -k [ --password ] arg Password for proxy server -l [ --progress-to-console ] Print information about downloading to console. This can be helpful if application want to show some progress bar whit current operation description. | Всего записей: 164 | Зарегистр. 01-10-2010 | Отправлено: 12:01 13-10-2011 | Исправлено: Sharibaev, 05:55 14-10-2011 |
|