mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Manpages: Auto-generate many through ArgsParser
This set was hand-curated, guided by the questions: - Does it have at least three options, i.e. is the help page non-trivial? - Is the program unusual, i.e. does listing it in Help or on man.serenityos.org spread awareness? - Is the program common, but we only implement a subset of 'common' flags?
This commit is contained in:
committed by
Linus Groh
parent
a4e805756d
commit
50a65f02a8
Notes:
sideshowbarker
2024-07-18 01:38:19 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/50a65f02a8d Pull-request: https://github.com/SerenityOS/serenity/pull/10655 Reviewed-by: https://github.com/linusg
23
Base/usr/share/man/man1/ntpquery.md
Normal file
23
Base/usr/share/man/man1/ntpquery.md
Normal file
@@ -0,0 +1,23 @@
|
||||
## Name
|
||||
|
||||
ntpquery
|
||||
|
||||
## Synopsis
|
||||
|
||||
```sh
|
||||
$ ntpquery [--adjust] [--set] [--verbose] [host]
|
||||
```
|
||||
|
||||
## Options:
|
||||
|
||||
* `--help`: Display help message and exit
|
||||
* `--version`: Print version
|
||||
* `-a`, `--adjust`: Gradually adjust system time (requires root)
|
||||
* `-s`, `--set`: Immediately set system time (requires root)
|
||||
* `-v`, `--verbose`: Verbose output
|
||||
|
||||
## Arguments:
|
||||
|
||||
* `host`: NTP server
|
||||
|
||||
<!-- Auto-generated through ArgsParser -->
|
||||
Reference in New Issue
Block a user