From c640e12f066efd28de8c001fa314469b3704252a Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 26 Nov 2024 18:05:38 +0100 Subject: repository-config(5): fix wording to clarify that "main" is optional --- share/man/just-mr-repository-config.5.md | 4 +++- share/man/just-repository-config.5.md | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/man/just-mr-repository-config.5.md b/share/man/just-mr-repository-config.5.md index 90ae5055..aebad858 100644 --- a/share/man/just-mr-repository-config.5.md +++ b/share/man/just-mr-repository-config.5.md @@ -240,7 +240,9 @@ The repository configuration format is structured as a JSON object. The following fields are supported: - *`"main"`* contains a JSON string that determines which of the - provided repositories is considered the main repository. + provided repositories is considered the main repository. This entry + is optional, and if ommitted, it will be ommitted in the generated + **`just-repository-config`**. - *`"repositories"`* contains a JSON object, where each key is the global name of a repository and its corresponding value is the diff --git a/share/man/just-repository-config.5.md b/share/man/just-repository-config.5.md index f5bd98bf..59511885 100644 --- a/share/man/just-repository-config.5.md +++ b/share/man/just-repository-config.5.md @@ -91,8 +91,8 @@ keys: - *`"main"`* contains a string, which defines the repository name to consider by default if not explicitly specified on the command line - (i.e., via **`--main`**). This entry is optional and if omitted the - empty string is used. + (i.e., via **`--main`**). This entry is optional and if omitted **`just`** + will use the lexicographically first repository, as usual. - *`"repositories"`* contains a JSON object that defines all repositories by mapping global repository names to *repository -- cgit v1.2.3