aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/command_line.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
committerEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
commiteba873815bbb803fb298e3fb07502d22e3c5df6e (patch)
tree47794c27c6a4c1245b6ae14024dcf0f068605209 /utils/command_line.hpp
parentcmake: use CONFIGURE_DEPENDS (diff)
downloadwinapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.tar.gz
winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.zip
unify my .clang-format files
Diffstat (limited to 'utils/command_line.hpp')
-rw-r--r--utils/command_line.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/command_line.hpp b/utils/command_line.hpp
index ebed79e..d3178f1 100644
--- a/utils/command_line.hpp
+++ b/utils/command_line.hpp
@@ -22,7 +22,9 @@ public:
virtual ~SettingsParser() = default;
- virtual const char* get_short_description() const { return "[--option VALUE]..."; }
+ virtual const char* get_short_description() const {
+ return "[--option VALUE]...";
+ }
virtual void parse(int argc, char* argv[]) {
boost::program_options::options_description all;
@@ -41,7 +43,9 @@ public:
bool exit_with_usage = false;
- void usage() const { std::cout << *this; }
+ void usage() const {
+ std::cout << *this;
+ }
void usage_error(const std::exception& e) const {
std::cerr << std::format("usage error: {}\n", e.what());