aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-08-03 20:31:37 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-05 11:29:51 +0300
commiteb02d377f4f10e23cc6673e9e8f048b4ecbc8492 (patch)
tree3e93aa4cb405ff9207dc714c29b6321f9f9d31fa /bdep/project.cli
parent562fee6a0ce42f6dd2d6acbc7d88dc9b00f50d0e (diff)
Make find_configurations() to preserve configurations order on command line
Diffstat (limited to 'bdep/project.cli')
-rw-r--r--bdep/project.cli6
1 files changed, 3 insertions, 3 deletions
diff --git a/bdep/project.cli b/bdep/project.cli
index 17ef72e..6a1c4f0 100644
--- a/bdep/project.cli
+++ b/bdep/project.cli
@@ -75,13 +75,13 @@ namespace bdep
// Note that this is also used as storage for configuration names
// specified as @<name>.
//
- strings --config-name|-n
+ vector<pair<string, size_t>> --config-name|-n
{
"<name>",
"Specify the build configuration as a name."
};
- vector<uint64_t> --config-id
+ vector<pair<uint64_t, size_t>> --config-id
{
"<num>",
"Specify the build configuration as an id."
@@ -98,7 +98,7 @@ namespace bdep
"Use all build configurations."
}
- dir_paths --config|-c
+ vector<pair<dir_path, size_t>> --config|-c
{
"<dir>",
"Specify the build configuration as a directory."