From cc7216e60cd6893974e687599682c5e6233e9b69 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Mar 2018 14:29:43 +0200 Subject: Initial implementation of new command --- bdep/project.cli | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'bdep/project.cli') diff --git a/bdep/project.cli b/bdep/project.cli index 7680d99..c3f2e29 100644 --- a/bdep/project.cli +++ b/bdep/project.cli @@ -8,10 +8,16 @@ include ; namespace bdep { - // Common options for commands that accept @. + // Common options for commands that accept --config-id and @. // class configuration_name_options: common_options { + 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 @@ -25,28 +31,22 @@ namespace bdep // class project_options: configuration_name_options { - bool --all|-a - { - "Use all build configurations." - } - - dir_paths --config|-c + dir_paths --directory|-d { "", - "Specify the build configuration to use as a directory." + "Assume project/package is in the specified directory rather than in the + current working directory." } - vector --config-id + bool --all|-a { - "", - "Specify the build configuration to use as an id." - }; + "Use all build configurations." + } - dir_paths --directory|-d + dir_paths --config|-c { "", - "Assume project/package is in the specified directory rather than in the - current working directory." + "Specify the build configuration as a directory." } }; } -- cgit v1.1