From 42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 23 Dec 2017 19:05:22 +0300 Subject: Add repository type detection --- bpkg/rep-add.cli | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bpkg/rep-add.cli') diff --git a/bpkg/rep-add.cli b/bpkg/rep-add.cli index cbd73a4..eddea45 100644 --- a/bpkg/rep-add.cli +++ b/bpkg/rep-add.cli @@ -2,6 +2,8 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file +include ; + include ; "\section=1" @@ -28,5 +30,15 @@ namespace bpkg class rep_add_options: configuration_options { "\h|REP-ADD OPTIONS|" + + repository_type --type + { + "", + "Specify the repository type with valid values being \cb{bpkg} and + \cb{git}. Normally the repository type can be automatically guessed by + examining its URL (for example, the presence of the \cb{.git} + extension) or, in case of a local repository, its content (for example, + the presence of the \cb{.git} subdirectory)." + } }; } -- cgit v1.1