From: Jörg Behrmann Date: Tue, 1 Oct 2024 08:01:55 +0000 (+0200) Subject: docs: Add missing documentation for the completion verb X-Git-Tag: v25~250^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F3089%2Fhead;p=thirdparty%2Fmkosi.git docs: Add missing documentation for the completion verb --- diff --git a/mkosi/config.py b/mkosi/config.py index 9da510dd0..ac6e8a306 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -3404,6 +3404,7 @@ def create_argument_parser(chdir: bool = True) -> argparse.ArgumentParser: mkosi [options…] {b}journalctl{e} [command line…] mkosi [options…] {b}coredumpctl{e} [command line…] mkosi [options…] {b}documentation{e} [manual] + mkosi [options…] {b}completion{e} [shell] mkosi [options…] {b}clean{e} mkosi [options…] {b}serve{e} mkosi [options…] {b}bump{e} diff --git a/mkosi/resources/man/mkosi.1.md b/mkosi/resources/man/mkosi.1.md index 84ead0690..f131f77a3 100644 --- a/mkosi/resources/man/mkosi.1.md +++ b/mkosi/resources/man/mkosi.1.md @@ -177,6 +177,10 @@ The following command line verbs are known: appropriate search path for man pages. The man page can be generated from the markdown file `mkosi/resources/man/mkosi.1.md` e.g via `pandoc -t man -s -o mkosi.1 mkosi.1.md`. +`completion` +: Generate shell completion for the shell given as argument and print it to stdout. The arguments `bash`, + `fish`, and `zsh` are understood. + `dependencies` : Output the list of packages required by mkosi to build and boot images.