Version: fix outdated documentation of version number (#12074)
This commit is contained in:
1 parent
a1ae53c8e5
commit
34cd1f939f
1 file changed
+2
-2
@@ -25,7 +25,7 @@ end
|
||||
|
||||
--- Returns normalized version of KOReader git-rev input string.
|
||||
-- @string rev full KOReader git-rev such as `v2015.11-982-g704d4238`
|
||||
-- @treturn int version in the form of a 10 digit number such as `2015110982`
|
||||
-- @treturn int version in the form of a 12 digit number such as `201511000982`
|
||||
-- @treturn string short git commit version hash such as `704d4238`
|
||||
function Version:getNormalizedVersion(rev)
|
||||
if not rev then return end
|
||||
@@ -42,7 +42,7 @@ function Version:getNormalizedVersion(rev)
|
||||
end
|
||||
|
||||
--- Returns current version of KOReader.
|
||||
-- @treturn int version in the form of a 10 digit number such as `2015110982`
|
||||
-- @treturn int version in the form of a 12 digit number such as `201511000982`
|
||||
-- @treturn string short git commit version hash such as `704d4238`
|
||||
-- @see getNormalizedVersion
|
||||
function Version:getNormalizedCurrentVersion()
|
||||
|
||||
Reference in new issue
Block a user