···11+lsr(1)
22+33+# NAME
44+55+lsr - list directory contents, but with io_uring
66+77+# SYNOPSIS
88+99+*lsr* [options...] [directory]
1010+1111+# DESCRIPTION
1212+1313+lsr is an implementation of ls(1) which utilizes io_uring to perform syscall
1414+batching.
1515+1616+# OPTIONS
1717+1818+*-1*, *--oneline*
1919+ Print entries one per line
2020+*-a*, *--all*
2121+ Show files that start with a dot (ASCII 0x2E)
2222+*-A*, *--almost-all*
2323+ Like --all, but skips implicit "." and ".." directories
2424+*-C*, *--columns*
2525+ Print the output in columns
2626+*--color=WHEN*
2727+ When to use colors (always, auto, never)
2828+*--group-directories-first*
2929+ When to use colors (always, auto, never)
3030+*--help*
3131+ Print the version and exit.
3232+*--icons=WHEN*
3333+ When to display icons (always, auto, never)
3434+*-l*, *--long*
3535+ Display extended file metadata
3636+*--version*
3737+ Print the version and exit.
3838+3939+# AUTHORS
4040+4141+Written and maintained by Tim Culverhouse <tim@timculverhouse.com>, assisted by
4242+open source contributors.
+1
src/main.zig
···1111 \\ lsr [options] [directory]
1212 \\
1313 \\ --help Print this message and exit
1414+ \\ --version Print the version string
1415 \\
1516 \\DISPLAY OPTIONS
1617 \\ -1, --oneline Print entries one per line