ladybird/Userland
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
..
Applets ClipboardHistory: Convert to try_create_default_icon 2021-12-18 23:36:59 +01:00
Applications Help: Add support for launching with a section and page, like man 2021-12-20 10:58:41 -08:00
Demos WidgetGallery: Convert to try_create_default_icon 2021-12-18 23:36:59 +01:00
DevTools Profiler: Display tooltip when hovering over flamegraph bars 2021-12-20 11:31:47 +01:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games Solitaire: Convert to try_create_default_icon 2021-12-18 23:36:59 +01:00
Libraries LibGL: Only pass bound texture units to rasterizer 2021-12-20 10:36:53 -08:00
Services SystemServer: Fixed grammatical error "a charm" 2021-12-19 13:43:34 -08:00
Shell Shell: Don't skip over the first brace expansion entry if it's empty 2021-12-16 03:26:59 +03:30
Utilities cp: Print proper error message with strerror 2021-12-20 10:40:02 -08:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00