From 375fb460e3e13e935131fbac64e5db175f3b5de8 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Thu, 22 Jan 2026 19:50:46 +0100 Subject: [PATCH] refactor(list): trim flags --- cmd/cmd_list.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd/cmd_list.go b/cmd/cmd_list.go index 435577343..94ac40b67 100644 --- a/cmd/cmd_list.go +++ b/cmd/cmd_list.go @@ -33,9 +33,7 @@ func createList() *cli.Command { } func createListFlags() []cli.Flag { - flags := CreateFlags("") - - flags = append(flags, + return []cli.Flag{ &cli.BoolFlag{ Name: flgAccounts, Aliases: []string{"a"}, @@ -46,9 +44,8 @@ func createListFlags() []cli.Flag { Aliases: []string{"n"}, Usage: "Display certificate names only.", }, - ) - - return flags + CreatePathFlag(""), + } } func list(ctx context.Context, cmd *cli.Command) error {