mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -25,20 +25,20 @@
|
|||
|
||||
constexpr uid_t BASE_UID = 1000;
|
||||
constexpr gid_t USERS_GID = 100;
|
||||
constexpr const char* DEFAULT_SHELL = "/bin/sh";
|
||||
constexpr char const* DEFAULT_SHELL = "/bin/sh";
|
||||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio wpath rpath cpath chown"));
|
||||
|
||||
const char* home_path = nullptr;
|
||||
char const* home_path = nullptr;
|
||||
int uid = 0;
|
||||
int gid = USERS_GID;
|
||||
bool create_home_dir = false;
|
||||
const char* password = "";
|
||||
const char* shell = DEFAULT_SHELL;
|
||||
const char* gecos = "";
|
||||
const char* username = nullptr;
|
||||
char const* password = "";
|
||||
char const* shell = DEFAULT_SHELL;
|
||||
char const* gecos = "";
|
||||
char const* username = nullptr;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.add_option(home_path, "Home directory for the new user", "home-dir", 'd', "path");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue