From 6e90b57a442424876b1325b9209f79c8a885a479 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 4 Jul 2017 11:27:47 +0300 Subject: Make use of foreign package objects in build-related functionality --- clean/clean.cli | 45 +++++---------------------------------------- 1 file changed, 5 insertions(+), 40 deletions(-) (limited to 'clean/clean.cli') diff --git a/clean/clean.cli b/clean/clean.cli index 3f4e2ea..c80c1b1 100644 --- a/clean/clean.cli +++ b/clean/clean.cli @@ -47,28 +47,28 @@ class options explicitly. If unspecified, the default timeout is zero (never expire)." } - std::string --build-db-user + std::string --db-user { "", "Build database user name. If not specified, then operating system (login) name is used." } - std::string --build-db-password + std::string --db-password { "", "Build database password. If not specified, then login without password is expected to work." } - std::string --build-db-name = "brep_build" + std::string --db-name = "brep_build" { "", "Build database name. If not specified, then \cb{brep_build} is used by default." } - std::string --build-db-host + std::string --db-host { "", "Build database host name, address, or socket. If not specified, then @@ -76,47 +76,12 @@ class options (Unix-domain socket, etc)." } - std::uint16_t --build-db-port = 0 + std::uint16_t --db-port = 0 { "", "Build database port number. If not specified, the default port is used." } - std::string --package-db-user - { - "", - "Package database user name. If not specified, then operating system - (login) name is used." - } - - std::string --package-db-password - { - "", - "Package database password. If not specified, then login without password - is expected to work." - } - - std::string --package-db-name = "brep_package" - { - "", - "Package database name. If not specified, then \cb{brep_package} is used by - default." - } - - std::string --package-db-host - { - "", - "Package database host name, address, or socket. If not specified, then - connect to \cb{localhost} using the operating system-default mechanism - (Unix-domain socket, etc)." - } - - std::uint16_t --package-db-port = 0 - { - "", - "Package database port number. If not specified, the default port is used." - } - std::string --pager // String to allow empty value. { "", -- cgit v1.1