diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-14 14:29:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-14 14:29:43 +0200 |
commit | cc7216e60cd6893974e687599682c5e6233e9b69 (patch) | |
tree | 2304123805fda221d189034b2b85b3aac56055f4 /bdep/project.cli | |
parent | 6be9c7746f92aa721782a4d0eaff5f901fc528cd (diff) |
Initial implementation of new command
Diffstat (limited to 'bdep/project.cli')
-rw-r--r-- | bdep/project.cli | 30 |
1 files changed, 15 insertions, 15 deletions
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 <bdep/common.cli>; namespace bdep { - // Common options for commands that accept @<cfg-name>. + // Common options for commands that accept --config-id and @<cfg-name>. // class configuration_name_options: common_options { + 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 @@ -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 { "<dir>", - "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<uint64_t> --config-id + bool --all|-a { - "<num>", - "Specify the build configuration to use as an id." - }; + "Use all build configurations." + } - dir_paths --directory|-d + dir_paths --config|-c { "<dir>", - "Assume project/package is in the specified directory rather than in the - current working directory." + "Specify the build configuration as a directory." } }; } |