diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-07 17:14:45 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-21 16:21:49 +0100 |
commit | d2e7188e33a58cab05ef6292795303ad4b92a5f7 (patch) | |
tree | a6789fb724833d4d800626bf9b4707fa4ae1e9d8 /src/libctor.cc | |
parent | e166206702c8dbd3162452cf26f368e856ac0138 (diff) |
WIPmsvc
Diffstat (limited to 'src/libctor.cc')
-rw-r--r-- | src/libctor.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libctor.cc b/src/libctor.cc index b1fbaea..aaf17c9 100644 --- a/src/libctor.cc +++ b/src/libctor.cc @@ -159,7 +159,7 @@ int main(int argc, char* argv[]) opt.add("help", no_argument, 'h', "Print this help text.", - [&]() { + [&]() -> int { std::cout << "Usage: " << args[0] << " [options] [target] ...\n"; std::cout << R"_( where target can be either: @@ -174,7 +174,6 @@ Options: )_"; opt.help(); exit(0); - return 0; }); opt.process(argc, argv); |