summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-26 18:05:38 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-01-13 16:23:40 +0100
commit83ce5b99d48642d929e6270fa38fe1a475275fe8 (patch)
tree7e12fc339a8745489a7eac36f21766841d12d43c
parent6c0c308c036ac3da9533385c45e9b57028fc4477 (diff)
downloadjustbuild-83ce5b99d48642d929e6270fa38fe1a475275fe8.tar.gz
repository-config(5): fix wording to clarify that "main" is optional
(cherry-picked from c640e12f066efd28de8c001fa314469b3704252a)
-rw-r--r--share/man/just-mr-repository-config.5.md4
-rw-r--r--share/man/just-repository-config.5.md4
2 files changed, 5 insertions, 3 deletions
diff --git a/share/man/just-mr-repository-config.5.md b/share/man/just-mr-repository-config.5.md
index fa55aaba..05cde2de 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 c149ca92..20d1ac67 100644
--- a/share/man/just-repository-config.5.md
+++ b/share/man/just-repository-config.5.md
@@ -86,8 +86,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