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-info.cli | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bpkg/rep-info.cli') diff --git a/bpkg/rep-info.cli b/bpkg/rep-info.cli index 8bad234..d2ce9b6 100644 --- a/bpkg/rep-info.cli +++ b/bpkg/rep-info.cli @@ -2,6 +2,8 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file +include ; + include ; "\section=1" @@ -91,6 +93,16 @@ namespace bpkg manifests." } + 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)." + } + string --directory|-d // String to allow empty value. { "", -- cgit v1.1