From cdbc374bc16ed0db1a4a206064bb090ac935d89d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 5 Mar 2018 14:35:27 +0200 Subject: Style/naming cleanup in man synopsis --- bpkg/bpkg.cli | 8 ++++---- bpkg/cfg-create.cli | 7 +++++-- bpkg/pkg-build.cli | 20 ++++++++++++-------- bpkg/pkg-checkout.cli | 2 +- bpkg/pkg-configure.cli | 2 +- bpkg/pkg-fetch.cli | 2 +- bpkg/pkg-status.cli | 2 +- bpkg/pkg-unpack.cli | 2 +- bpkg/pkg-verify.cli | 12 ++++++------ bpkg/rep-add.cli | 10 +++++----- bpkg/rep-fetch.cli | 4 ++-- bpkg/rep-info.cli | 4 ++-- bpkg/rep-remove.cli | 10 ++++++---- doc/style | 2 +- 14 files changed, 48 insertions(+), 39 deletions(-) diff --git a/bpkg/bpkg.cli b/bpkg/bpkg.cli index e23a059..c19138b 100644 --- a/bpkg/bpkg.cli +++ b/bpkg/bpkg.cli @@ -15,10 +15,10 @@ namespace bpkg "\h|SYNOPSIS| - \cb{bpkg --help}\n - \cb{bpkg --version}\n - \c{\b{bpkg help} [ | ]}\n - \c{\b{bpkg} [] [] } + \c{\b{bpkg --help}\n + \b{bpkg --version}\n + \b{bpkg help} [ | ]\n + \b{bpkg} [] [] } \h|DESCRIPTION| diff --git a/bpkg/cfg-create.cli b/bpkg/cfg-create.cli index 5c556e8..46ee97e 100644 --- a/bpkg/cfg-create.cli +++ b/bpkg/cfg-create.cli @@ -11,11 +11,14 @@ include ; namespace bpkg { { - " ", + " + ", "\h|SYNOPSIS| - \c{\b{bpkg cfg-create}|\b{create} [] [( | )...]} + \c{\b{bpkg cfg-create}|\b{create} [] []} + + \c{ = ( | )...} \h|DESCRIPTION| diff --git a/bpkg/pkg-build.cli b/bpkg/pkg-build.cli index 87440a0..3c5568f 100644 --- a/bpkg/pkg-build.cli +++ b/bpkg/pkg-build.cli @@ -11,14 +11,18 @@ include ; namespace bpkg { { - " ", + " + + + + ", "\h|SYNOPSIS| - \c{\b{bpkg pkg-build}|\b{build} [] ( | [\b{@}] | | /)...} + \c{\b{bpkg pkg-build}|\b{build} [] ( | [\b{@}] | | /)...} - \c{ = [\b{:}][\b{/}][\b{,}...\b{@}]}\n - \c{ \ \ = [\b{?}]\b{sys}} + \c{ = [\b{:}][\b{/}][\b{,}...\b{@}]\n + \ \ = [\b{?}]\b{sys}} \h|DESCRIPTION| @@ -38,10 +42,10 @@ namespace bpkg bpkg build foo libfoo/1.2.3 \ - Alternatively, the package repository () can be specified as - part of the build command. In this case, if is not specified, then - the latest available from this repository version will be built. For - example: + Alternatively, the package repository location () can be + specified as part of the build command. In this case, if is not + specified, then the latest available from this repository version will be + built. For example: \ bpkg build foo,libfoo/1.2.3@https://git.example.org/foo.git#master diff --git a/bpkg/pkg-checkout.cli b/bpkg/pkg-checkout.cli index 3283a3f..d671121 100644 --- a/bpkg/pkg-checkout.cli +++ b/bpkg/pkg-checkout.cli @@ -15,7 +15,7 @@ namespace bpkg "\h|SYNOPSIS| - \c{\b{bpkg pkg-checkout} [] /} + \c{\b{bpkg pkg-checkout} [] \b{/}} \h|DESCRIPTION| diff --git a/bpkg/pkg-configure.cli b/bpkg/pkg-configure.cli index d3df8d0..7db9222 100644 --- a/bpkg/pkg-configure.cli +++ b/bpkg/pkg-configure.cli @@ -11,7 +11,7 @@ include ; namespace bpkg { { - " ", + " ", "\h|SYNOPSIS| diff --git a/bpkg/pkg-fetch.cli b/bpkg/pkg-fetch.cli index 4e1dda1..213c536 100644 --- a/bpkg/pkg-fetch.cli +++ b/bpkg/pkg-fetch.cli @@ -15,7 +15,7 @@ namespace bpkg "\h|SYNOPSIS| - \c{\b{bpkg pkg-fetch} [] (/) | (-e )} + \c{\b{bpkg pkg-fetch} [] (\b{/} | \b{-e} )} \h|DESCRIPTION| diff --git a/bpkg/pkg-status.cli b/bpkg/pkg-status.cli index 3721262..3a346a6 100644 --- a/bpkg/pkg-status.cli +++ b/bpkg/pkg-status.cli @@ -15,7 +15,7 @@ namespace bpkg "\h|SYNOPSIS| - \c{\b{bpkg pkg-status}|\b{status} [] [/]...} + \c{\b{bpkg pkg-status}|\b{status} [] [\b{/}]...} \h|DESCRIPTION| diff --git a/bpkg/pkg-unpack.cli b/bpkg/pkg-unpack.cli index f4da2c2..c13d3dc 100644 --- a/bpkg/pkg-unpack.cli +++ b/bpkg/pkg-unpack.cli @@ -15,7 +15,7 @@ namespace bpkg "\h|SYNOPSIS| - \c{\b{bpkg pkg-unpack} [] | (-e )} + \c{\b{bpkg pkg-unpack} [] ( | \b{-e} )} \h|DESCRIPTION| diff --git a/bpkg/pkg-verify.cli b/bpkg/pkg-verify.cli index 1b733c7..836791a 100644 --- a/bpkg/pkg-verify.cli +++ b/bpkg/pkg-verify.cli @@ -11,18 +11,18 @@ include ; namespace bpkg { { - " ", + " ", "\h|SYNOPSIS| - \c{\b{bpkg pkg-verify} [] } + \c{\b{bpkg pkg-verify} [] } \h|DESCRIPTION| - The \cb{pkg-verify} command verifies that the specified archive is a - valid \cb{bpkg} package. Specifically, it checks that the archive's name - and the top-level directory inside the archive match the canonical - '\c{\i{name}\b{-}\i{version}}' form and that there is a valid manifest + The \cb{pkg-verify} command verifies that the specified archive file is a + valid \cb{bpkg} package. Specifically, it checks that the file's name and + the top-level directory inside the archive match the canonical + \c{\i{name}\b{-}\i{version}} form and that there is a valid manifest file in that top-level directory." } diff --git a/bpkg/rep-add.cli b/bpkg/rep-add.cli index b630f0a..b566bbd 100644 --- a/bpkg/rep-add.cli +++ b/bpkg/rep-add.cli @@ -13,18 +13,18 @@ include ; namespace bpkg { { - " ", + " ", "\h|SYNOPSIS| - \c{\b{bpkg rep-add}|\b{add} [] ...} + \c{\b{bpkg rep-add}|\b{add} [] ...} \h|DESCRIPTION| The \cb{rep-add} command adds the specified package repositories to the - configuration. The repository location is a URL or a directory path. If a - repository with the same name already exists in the configuration, then - its location is replaced with the specified. + configuration. The repository location is a URL or a directory + path. If a repository with the same canonical name already exists in the + configuration, then its location is replaced with the specified. Note that this command doesn't fetch the list of available packages for the newly added repository. For that, use the \l{bpkg-rep-fetch(1)} diff --git a/bpkg/rep-fetch.cli b/bpkg/rep-fetch.cli index 9ec1de7..ba9b879 100644 --- a/bpkg/rep-fetch.cli +++ b/bpkg/rep-fetch.cli @@ -11,11 +11,11 @@ include ; namespace bpkg { { - " ", + " ", "\h|SYNOPSIS| - \c{\b{bpkg rep-fetch}|\b{fetch} [] [(|)...]} + \c{\b{bpkg rep-fetch}|\b{fetch} [] [( | )...]} \h|DESCRIPTION| diff --git a/bpkg/rep-info.cli b/bpkg/rep-info.cli index 029b27b..df0eee3 100644 --- a/bpkg/rep-info.cli +++ b/bpkg/rep-info.cli @@ -13,11 +13,11 @@ include ; namespace bpkg { { - " ", + " ", "\h|SYNOPSIS| - \c{\b{bpkg rep-info} [] } + \c{\b{bpkg rep-info} [] } \h|DESCRIPTION| diff --git a/bpkg/rep-remove.cli b/bpkg/rep-remove.cli index 25280b2..09cd372 100644 --- a/bpkg/rep-remove.cli +++ b/bpkg/rep-remove.cli @@ -13,13 +13,15 @@ include ; namespace bpkg { { - " ", + " ", + "\h|SYNOPSIS| - \c{\b{bpkg rep-remove}|\b{remove} [] (|)...}\n - \c{\b{bpkg rep-remove}|\b{remove} [] (--all|-a)}\n - \c{\b{bpkg rep-remove}|\b{remove} [] --clean} + \c{\b{bpkg rep-remove}|\b{remove} [] (|)...\n + \b{bpkg rep-remove}|\b{remove} [] \b{--all}|\b{-a}\n + \b{bpkg rep-remove}|\b{remove} [] \b{--clean}} + \h|DESCRIPTION| diff --git a/doc/style b/doc/style index 658436a..f9ae99d 160000 --- a/doc/style +++ b/doc/style @@ -1 +1 @@ -Subproject commit 658436a9522b5a0d016c3da0253708093607f95d +Subproject commit f9ae99d1bef56a056cbcac5a4411cfdd3e76ac3a -- cgit v1.1