diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-11-26 18:05:38 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-11-26 18:05:38 +0100 |
commit | c640e12f066efd28de8c001fa314469b3704252a (patch) | |
tree | 92c6a76362ee050e6d8262878c1b9cc38504d0fd /share | |
parent | a9899714c61b998f408e36d870ad8408ec780590 (diff) | |
download | justbuild-c640e12f066efd28de8c001fa314469b3704252a.tar.gz |
repository-config(5): fix wording to clarify that "main" is optional
Diffstat (limited to 'share')
-rw-r--r-- | share/man/just-mr-repository-config.5.md | 4 | ||||
-rw-r--r-- | share/man/just-repository-config.5.md | 4 |
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 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 |