From 0c2a4d6c3c832671a1f5647ab1b095adef2e985e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 May 2018 16:14:56 +0200 Subject: Implement -@foo as alternative to @foo, also add --config-name|-n An argument with leading '@' has special meaning in Windows PowerShell. --- bdep/project.cli | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'bdep/project.cli') 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 @. + // + strings --config-name|-n + { + "", + "Specify the build configuration as a name." + }; + vector --config-id { "", "Specify the build configuration as an id." }; - - // Storage for configuration names specified as @. - // - // 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 -- cgit v1.1