ladybird/Userland/Applications
Sam Atkins 8461f8c1cd Help: Add support for launching with a section and page, like man
I found it strange that `man` and `Help` did not accept the same command
line arguments since they are so similar. So... now they do. :^)

This means you can now open for example the `tar` man page in Help with
`Help tar`, or `Help 1 tar` if you want to disambiguate between pages in
different sections.

If the result is not found, it falls back to the previous behavior,
treating the input as a search query.

Initially I had this written as two optional positional arguments, but
when told to parse `[optional int] [optional string]`, and then given a
string input, ArgsParser forwards it to the [optional int], which then
fails to parse. Ideally it would pass it to the second, [optional
string] arg instead, but that looks like a fairly big change to make to
ArgsParser's internals, and risk breaking things. Maybe this ugly hack
will be an incentive to fix it. :^)
2021-12-20 10:58:41 -08:00
..
3DFileViewer Userland: Use File::lines() range-based for loop where appropriate 2021-12-12 14:06:38 +03:30
About About: Port to LibMain 2021-12-17 13:09:54 -08:00
AnalogClock AnalogClock: Port to LibMain 2021-12-17 13:09:54 -08:00
Assistant Userland: Cast unused BackgroundAction::construct() results to void 2021-12-05 15:31:03 +01:00
Browser Browser+LibWeb+WebContent: Add variables display to Inspector 2021-12-10 06:52:17 +01:00
BrowserSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
Calculator Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Calendar LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
CrashReporter CrashReporter: Remove redundant pledge() 2021-12-11 23:06:56 +01:00
Debugger AK: Make ByteBuffer::try_* functions return ErrorOr<void> 2021-11-10 21:58:58 +01:00
DisplaySettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
FileManager Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
FontEditor LibGUI+FontEditor: Allow ComboBox on_change callback to be toggled 2021-11-30 10:51:51 +01:00
Help Help: Add support for launching with a section and page, like man 2021-12-20 10:58:41 -08:00
HexEditor Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
ImageViewer Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
KeyboardMapper Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
KeyboardSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
Magnifier Magnifier: Add timeline for easy checking of animations 2021-12-20 10:48:03 -08:00
Mail Mail: Ask the user if they want to see the mail settings 2021-12-11 15:09:54 -08:00
MailSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
MouseSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
PDFViewer LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCore 2021-11-23 11:33:36 +01:00
Piano Piano: Make Key_Space shortcut to toggle playback 2021-12-20 10:39:37 -08:00
PixelPaint Userland: Use File::lines() range-based for loop where appropriate 2021-12-12 14:06:38 +03:30
Run Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Settings Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
SoundPlayer SoundPlayer: Port to LibMain :^) 2021-12-04 15:07:18 -08:00
SpaceAnalyzer Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
Spreadsheet Spreadsheet: Handle emptying of cell containing only an '=' 2021-12-16 02:44:37 +03:30
SystemMonitor SystemMonitor: Add back accidentally removed veil lock 2021-12-19 13:41:35 +01:00
Terminal Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
TerminalSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
TextEditor HackStudio+TextEditor: Persist EditingEngineType across editors 2021-12-09 21:31:06 +01:00
ThemeEditor ThemeEditor: Use LibMain 2021-11-28 10:10:35 -08:00
VideoPlayer LibGfx: Use ErrorOr<T> for Bitmap::try_create() 2021-11-08 00:35:27 +01:00
Welcome Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
CMakeLists.txt Terminal: Modernize terminal settings as a standalone application 2021-11-27 12:45:44 +01:00