aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-15 16:14:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-15 16:14:56 +0200
commit0c2a4d6c3c832671a1f5647ab1b095adef2e985e (patch)
tree339b64465ad5f710223173fc26851ea084f2beb2 /bdep/project.cli
parent58cd2d5788147c80d6f266b6984615bbd23516d7 (diff)
Implement -@foo as alternative to @foo, also add --config-name|-n
An argument with leading '@' has special meaning in Windows PowerShell.
Diffstat (limited to 'bdep/project.cli')
-rw-r--r--bdep/project.cli16
1 files changed, 9 insertions, 7 deletions
diff --git a/bdep/project.cli b/bdep/project.cli
index 0053c19..469e33d 100644
--- a/bdep/project.cli
+++ b/bdep/project.cli
@@ -54,18 +54,20 @@ namespace bdep
//
class configuration_name_options: common_options
{
+ // Note that this is also used as storage for configuration names
+ // specified as @<name>.
+ //
+ strings --config-name|-n
+ {
+ "<name>",
+ "Specify the build configuration as a name."
+ };
+
vector<uint64_t> --config-id
{
"<num>",
"Specify the build configuration as an id."
};
-
- // Storage for configuration names specified as @<cfg-name>.
- //
- // Note that we leave it undocumented so that it's not mentioned in
- // documentation.
- //
- strings --config-name;
};
// Common options for commands that operate on project/packages (prj-spec