]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
docs: Add missing documentation for the completion verb 3089/head
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Tue, 1 Oct 2024 08:01:55 +0000 (10:01 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Tue, 1 Oct 2024 08:02:20 +0000 (10:02 +0200)
mkosi/config.py
mkosi/resources/man/mkosi.1.md

index 9da510dd0d3f883e863f91e3b18ecdefea6fb4d8..ac6e8a3067bbf9c69239ec363f72e93698609c3f 100644 (file)
@@ -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}
index 84ead069002a3b3a3fc56bcc096553b6e827188a..f131f77a3f3682e167d11fa1dee96f465db88463 100644 (file)
@@ -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.