summaryrefslogtreecommitdiff
path: root/Userland/Utilities/man.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Utilities/man.cpp
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Utilities/man.cpp')
-rw-r--r--Userland/Utilities/man.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Utilities/man.cpp b/Userland/Utilities/man.cpp
index c56ff45c11..547314f906 100644
--- a/Userland/Utilities/man.cpp
+++ b/Userland/Utilities/man.cpp
@@ -59,9 +59,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/bin", "x"));
TRY(Core::System::unveil(nullptr, nullptr));
- const char* section = nullptr;
- const char* name = nullptr;
- const char* pager = nullptr;
+ char const* section = nullptr;
+ char const* name = nullptr;
+ char const* pager = nullptr;
Core::ArgsParser args_parser;
args_parser.set_general_help("Read manual pages. Try 'man man' to get started.");
@@ -70,11 +70,11 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
args_parser.add_option(pager, "Pager to pipe the man page to", "pager", 'P', "pager");
args_parser.parse(arguments);
- auto make_path = [name](const char* section) {
+ auto make_path = [name](char const* section) {
return String::formatted("/usr/share/man/man{}/{}.md", section, name);
};
if (!section) {
- const char* sections[] = {
+ char const* sections[] = {
"1",
"2",
"3",