mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
LibCore: Put all classes in the Core namespace and remove the leading C
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
This commit is contained in:
parent
b7e3810b5c
commit
2d39da5405
265 changed files with 1380 additions and 1167 deletions
|
@ -124,11 +124,11 @@ int main(int argc, char** argv)
|
|||
{
|
||||
Vector<const char*> files;
|
||||
|
||||
CArgsParser args_parser;
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.add_option(output_line, "Output line count", "lines", 'l');
|
||||
args_parser.add_option(output_byte, "Output byte count", "bytes", 'c');
|
||||
args_parser.add_option(output_word, "Output word count", "words", 'w');
|
||||
args_parser.add_positional_argument(files, "File to process", "file", CArgsParser::Required::No);
|
||||
args_parser.add_positional_argument(files, "File to process", "file", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(argc, argv);
|
||||
|
||||
if (!output_line && !output_byte && !output_word)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue