From a4f2f99f23575a6cdcde5f18b8778ba2827ceb42 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Mar 2023 06:53:03 +0200 Subject: Allow multiple values for --archive-lang* pkg-bindist option --- bpkg/pkg-bindist.cli | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'bpkg/pkg-bindist.cli') diff --git a/bpkg/pkg-bindist.cli b/bpkg/pkg-bindist.cli index 7116e7d..0ea51f9 100644 --- a/bpkg/pkg-bindist.cli +++ b/bpkg/pkg-bindist.cli @@ -531,7 +531,7 @@ namespace bpkg defaults may change in the future." } - std::map --archive-lang + std::multimap --archive-lang { "=", "Map interface language name to runtime id . If no mapping is @@ -540,18 +540,20 @@ namespace bpkg fail. If the information about an interface language is unimportant and should be ignored, then empty runtime id can be specified. Note that the mapping specified with this option is only considered if the - package type is a library (for other package types all languages - used are implementation)." + package type is a library (for other package types all languages used + are implementation). Note also that multiple runtime ids specified for + the same language are combined." } - std::map --archive-lang-impl + std::multimap --archive-lang-impl { "=", "Map implementation language name to runtime id . If no mapping is found for an implementation language in this map, then assume the information about this implementation language is unimportant and ignore it (examples of such cases include static linking as well - as a language runtime that is always present)." + as a language runtime that is always present). See \cb{--archive-lang} + for background." } string --archive-build-meta -- cgit v1.1