aboutsummaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2025-01-27 11:40:25 +0100
committerJán Sučan <jan@jansucan.com>2025-01-27 15:22:36 +0100
commitaae2c5d151be25c1a480c2cbc2906412261f5674 (patch)
tree308fe8165301e8fd5166cce78e48129890304e0d /src/options.cpp
parent67cb1e0442a431fd07aa755fc390651d6986bd35 (diff)
Use camel case for a method name
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options.cpp b/src/options.cpp
index ee1d8a2..8ad510c 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -169,7 +169,7 @@ Parser::parseCreate(int argc, char **argv)
/* Convert numbers in the arguments */
if ((arg_buffer_size != NULL) &&
- parse_unsigned(arg_buffer_size, &(opts.m_buffer_size))) {
+ parseUnsigned(arg_buffer_size, &(opts.m_buffer_size))) {
throw Error("incorrect buffer size");
} else if (opts.m_buffer_size == 0) {
throw Error("buffer size cannot be 0");
@@ -231,7 +231,7 @@ Parser::parseRestore(int argc, char **argv)
/* Convert numbers in the arguments */
if ((arg_buffer_size != NULL) &&
- parse_unsigned(arg_buffer_size, &(opts.m_buffer_size))) {
+ parseUnsigned(arg_buffer_size, &(opts.m_buffer_size))) {
throw Error("incorrect buffer size");
} else if (opts.m_buffer_size == 0) {
throw Error("buffer size cannot be 0");
@@ -259,7 +259,7 @@ Parser::isOperation(int argc, char **argv, std::string_view operationName)
}
int
-Parser::parse_unsigned(const char *const arg, uint32_t *const value)
+Parser::parseUnsigned(const char *const arg, uint32_t *const value)
{
char *end;