aboutsummaryrefslogtreecommitdiff
path: root/libbutl/standard-version.mxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/standard-version.mxx')
-rw-r--r--libbutl/standard-version.mxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/libbutl/standard-version.mxx b/libbutl/standard-version.mxx
index 3c38242..83e9442 100644
--- a/libbutl/standard-version.mxx
+++ b/libbutl/standard-version.mxx
@@ -116,8 +116,12 @@ LIBBUTL_MODEXPORT namespace butl
//
// Note: return empty if the corresponding component is unspecified.
//
- std::string string () const; // Package version.
- std::string string_project () const; // Project version (no epoch/rev).
+ std::string string () const; // Package version.
+
+ // Project version (no epoch).
+ //
+ std::string string_project (bool revision = false) const;
+
std::string string_project_id () const; // Project version id (no snapsn).
std::string string_version () const; // Version only (no snapshot).
std::string string_pre_release () const; // Pre-release part only (a.1).