mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
refactor(list): trim flags
This commit is contained in:
parent
1ad1cf7094
commit
375fb460e3
1 changed files with 3 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue