civodul pushed a commit to branch devel
in repository shepherd.

commit 38dd786d16108f18fd3ef555e0d2c2ee4583c2ee
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sun Nov 3 14:56:59 2024 +0100

    bash completion: Complete more actions.
    
    * etc/completion/bash/herd (_herd_complete): Add ‘configuration’,
    ‘restart’, and ‘trigger’ to ‘_herd_subcommands_list’.
---
 etc/completion/bash/herd | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/etc/completion/bash/herd b/etc/completion/bash/herd
index db016c4..57271bc 100644
--- a/etc/completion/bash/herd
+++ b/etc/completion/bash/herd
@@ -75,16 +75,19 @@ _herd_complete()
            then
                # Cache the list of subcommands to speed things up.
                 _herd_subcommands_list=(
+                   configuration
                     disable
                     discover
                    doc
                     enable
                    help
+                   restart
                     schedule
                     set-http-proxy
                     start
                     status
                     stop
+                   trigger
                 )
                _herd_subcommands="${_herd_subcommands_list[*]}"
            fi

Reply via email to