From 7d1a1400f922def1ecae683073f613135474bda7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Nov 2015 10:43:33 +0200 Subject: .cli file style update --- bpkg/bpkg-options.cli | 36 ++++++++++++++++++------------------ bpkg/build-options.cli | 6 +++--- bpkg/cfg-create-options.cli | 4 ++-- bpkg/common-options.cli | 20 ++++++++++---------- bpkg/configuration-options.cli | 2 +- bpkg/drop-options.cli | 10 +++++----- bpkg/pkg-fetch-options.cli | 6 +++--- bpkg/pkg-purge-options.cli | 4 ++-- bpkg/pkg-unpack-options.cli | 6 +++--- bpkg/pkg-verify-options.cli | 2 +- bpkg/rep-info-options.cli | 8 ++++---- 11 files changed, 52 insertions(+), 52 deletions(-) diff --git a/bpkg/bpkg-options.cli b/bpkg/bpkg-options.cli index b0f14e3..cfdf9d9 100644 --- a/bpkg/bpkg-options.cli +++ b/bpkg/bpkg-options.cli @@ -37,119 +37,119 @@ namespace bpkg "[]", "Show help for a command or help topic \- \l{bpkg-help(1)}.", "" - }; + } bool build { "...", "Build one or more packages \- \l{bpkg-build-options(1)}.", "" - }; + } bool drop { "...", "Drop one or more packages.", "" - }; + } bool pkg-verify { "", "Verify archive is a valid package.", "" - }; + } bool pkg-status { "", // [/]: 24 "Print package status.", "" - }; + } bool pkg-fetch { "/", "Fetch package archive.", "" - }; + } bool pkg-unpack { "", "Unpack package archive.", "" - }; + } bool pkg-purge { "", "Purge package.", "" - }; + } bool pkg-configure { "", "Configure package.", "" - }; + } bool pkg-disfigure { "", "Disfigure package.", "" - }; + } bool pkg-update { "", "Update package.", "" - }; + } bool pkg-clean { "", "Clean package.", "" - }; + } bool cfg-create { "[]", "Create configuration.", "" - }; + } bool rep-add { "", "Add repository to configuration.", "" - }; + } bool rep-fetch { "", "Fetch available packages list.", "" - }; + } bool rep-info { "", "Print information about repository.", "" - }; + } bool rep-create { "[]", "Create repository manifest file.", "" - }; + } }; // Make sure these don't conflict with command names above. @@ -161,7 +161,7 @@ namespace bpkg bool common-options { "Options common for all commands \- \l{bpkg-common-options(1)}." - }; + } }; class options: common_options diff --git a/bpkg/build-options.cli b/bpkg/build-options.cli index 00a4c9c..77cfd72 100644 --- a/bpkg/build-options.cli +++ b/bpkg/build-options.cli @@ -47,17 +47,17 @@ namespace bpkg bool --yes|-y { "Assume the answer to all prompts is \cb{yes}." - }; + } bool --configure-only|-c { "Configure all the packages but don't update." - }; + } bool --print-only|-p { "Print to \cb{STDOUT} what would be done without actually doing anything." - }; + } }; } diff --git a/bpkg/cfg-create-options.cli b/bpkg/cfg-create-options.cli index f368d82..4ff0973 100644 --- a/bpkg/cfg-create-options.cli +++ b/bpkg/cfg-create-options.cli @@ -31,12 +31,12 @@ namespace bpkg "", "Create configuration in rather than in the current working directory." - }; + } bool --wipe { "Wipe the configuration directory clean before creating the new configuration." - }; + } }; } diff --git a/bpkg/common-options.cli b/bpkg/common-options.cli index 06a12b1..ab4d5fa 100644 --- a/bpkg/common-options.cli +++ b/bpkg/common-options.cli @@ -41,13 +41,13 @@ namespace bpkg { "Print underlying commands being executed. This is equivalent to \cb{--verbose 2}." - }; + } bool -q { "Run quietly, only printing error messages. This is equivalent to \cb{--verbose 0}." - }; + } uint16_t --verbose = 1 { @@ -70,7 +70,7 @@ namespace bpkg \li|information that could be helpful to the developer| \li|even more detailed information||" - }; + } path --fetch { @@ -87,7 +87,7 @@ namespace bpkg Currently, \cb{bpkg} has the following preference order: \cb{wget} 1.16 or higher (supports \cb{--show-progress}), \cb{curl}, \cb{wget}, and \cb{fetch}." - }; + } strings --fetch-option { @@ -95,7 +95,7 @@ namespace bpkg "Additional option to be passed to the fetch program. See \cb{--fetch} for more information on the fetch program. Repeat this option to specify multiple fetch options." - }; + } path --tar = "tar" { @@ -105,7 +105,7 @@ namespace bpkg should be passed to the tar program with \cb{--tar-option}. If the tar program is not explicitly specified, then \cb{bpkg} will use \cb{tar} by default." - }; + } strings --tar-option { @@ -113,7 +113,7 @@ namespace bpkg "Additional option to be passed to the tar program. See \cb{--tar} for more information on the tar program. Repeat this option to specify multiple tar options." - }; + } string --pager // String to allow empty value. { @@ -125,7 +125,7 @@ namespace bpkg program, then no pager will be used. If the pager program is not explicitly specified, then \cb{bpkg} will try to use \cb{less}. If it is not available, then no pager will be used." - }; + } strings --pager-option { @@ -133,7 +133,7 @@ namespace bpkg "Additional option to be passed to the pager program. See \cb{--pager} for more information on the pager program. Repeat this option to specify multiple pager options." - }; + } // The following option is "fake" in that it is actually handled by // argv_file_scanner. We have it here for documentation. @@ -156,6 +156,6 @@ namespace bpkg point where the \cb{--options-file} option is specified except that the shell escaping and quoting is not required. You can repeat this option to specify more than one options file." - }; + } }; } diff --git a/bpkg/configuration-options.cli b/bpkg/configuration-options.cli index 97c0fa3..13a487a 100644 --- a/bpkg/configuration-options.cli +++ b/bpkg/configuration-options.cli @@ -17,6 +17,6 @@ namespace bpkg "", "Assume configuration is in rather than in the current working directory." - }; + } }; } diff --git a/bpkg/drop-options.cli b/bpkg/drop-options.cli index 5669256..6901398 100644 --- a/bpkg/drop-options.cli +++ b/bpkg/drop-options.cli @@ -34,29 +34,29 @@ namespace bpkg "Assume the answer to all prompts is \cb{yes}. Note that this option does not apply to the dropping of dependents; use \cb{--drop-dependent} for that." - }; + } bool --no|-n { "Assume the answer to all prompts is \cb{no}. Only makes sense together with \cb{--print-only|-p}." - }; + } bool --drop-dependent { "Don't warn about or ask for confirmation of dropping dependent packages." - }; + } bool --disfigure-only { "Disfigure all the packages but don't purge." - }; + } bool --print-only|-p { "Print to \cb{STDOUT} what would be done without actually doing anything." - }; + } }; } diff --git a/bpkg/pkg-fetch-options.cli b/bpkg/pkg-fetch-options.cli index 441d63e..d8b9fc1 100644 --- a/bpkg/pkg-fetch-options.cli +++ b/bpkg/pkg-fetch-options.cli @@ -38,17 +38,17 @@ namespace bpkg bool --replace|-r { "Replace the archive if the package is already fetched or unpacked." - }; + } bool --existing|-e { "Treat the argument as an existing package archive path rather than package name/version to fetch." - }; + } bool --purge|-p { "Remove the existing package archive when the package is purged." - }; + } }; } diff --git a/bpkg/pkg-purge-options.cli b/bpkg/pkg-purge-options.cli index 8b54124..95bf478 100644 --- a/bpkg/pkg-purge-options.cli +++ b/bpkg/pkg-purge-options.cli @@ -34,13 +34,13 @@ namespace bpkg "Keep the package archive. Note that in this mode the package is still retained in the configuration's database in the \cb{fetched} state." - }; + } bool --force|-f { "Purge a broken package. In this mode \cb{bpkg} will verify that the package directory and archive no longer exist and will remove the package from the configuration's database." - }; + } }; } diff --git a/bpkg/pkg-unpack-options.cli b/bpkg/pkg-unpack-options.cli index 41928f6..bd9f773 100644 --- a/bpkg/pkg-unpack-options.cli +++ b/bpkg/pkg-unpack-options.cli @@ -39,17 +39,17 @@ namespace bpkg { "Treat the argument as an existing package directory path rather than package name to unpack." - }; + } bool --purge|-p { "Remove the existing package directory when the package is purged." - }; + } bool --replace|-r { "Replace the source directory if the package is already unpacked or fetched. Can only be specified together with \cb{-e|--existing}." - }; + } }; } diff --git a/bpkg/pkg-verify-options.cli b/bpkg/pkg-verify-options.cli index d430330..e1f810f 100644 --- a/bpkg/pkg-verify-options.cli +++ b/bpkg/pkg-verify-options.cli @@ -30,6 +30,6 @@ namespace bpkg { "Suppress error messages about the reason why the package is invalid. Just return the error status." - }; + } }; } diff --git a/bpkg/rep-info-options.cli b/bpkg/rep-info-options.cli index 0a61df1..349ba9f 100644 --- a/bpkg/rep-info-options.cli +++ b/bpkg/rep-info-options.cli @@ -30,17 +30,17 @@ namespace bpkg bool --name|-n { "Print the specified repository's name and location." - }; + } bool --repositories|-r { "Print information about prerequisite/complement repositories." - }; + } bool --packages|-p { "Print information about available packages." - }; + } bool --manifest|-m { @@ -48,6 +48,6 @@ namespace bpkg it as manifest(s). Normally you would use this option in combination with \cb{--packages|-p} or \cb{--repositories|-r} to only dump one of the manifests." - }; + } }; } -- cgit v1.1