diff --git a/completers/tmux_completer/cmd/killSession_generated.go b/completers/tmux_completer/cmd/killSession.go similarity index 53% rename from completers/tmux_completer/cmd/killSession_generated.go rename to completers/tmux_completer/cmd/killSession.go index b8a3f4b0fe..0762fab967 100644 --- a/completers/tmux_completer/cmd/killSession_generated.go +++ b/completers/tmux_completer/cmd/killSession.go @@ -8,17 +8,20 @@ import ( var killSessionCmd = &cobra.Command{ Use: "kill-session", - Short: "", + Short: "destroy a given session", Run: func(cmd *cobra.Command, args []string) {}, } func init() { carapace.Gen(killSessionCmd).Standalone() - killSessionCmd.Flags().StringS("t", "t", "", "target-session") + killSessionCmd.Flags().BoolS("C", "C", false, "clear alerts (bell, activity, silence) in all windows linked to the session") + killSessionCmd.Flags().BoolS("a", "a", false, "kill all session except the one specified by -t") + killSessionCmd.Flags().StringS("t", "t", "", "specify target session") + rootCmd.AddCommand(killSessionCmd) carapace.Gen(killSessionCmd).FlagCompletion(carapace.ActionMap{ - "t": tmux.ActionWindows(), + "t": tmux.ActionSessions(), }) }