Skip to content

Commit ec6f1ce

Browse files
committed
Fix: add command name in Registry
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
1 parent 12fbb1c commit ec6f1ce

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Sources/ContainerCommands/Registry/RegistryLogin.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ extension Application {
2525
public struct RegistryLogin: AsyncLoggableCommand {
2626
public init() {}
2727
public static let configuration = CommandConfiguration(
28+
commandName: "login",
2829
abstract: "Log in to a registry"
2930
)
3031

Sources/ContainerCommands/Registry/RegistryLogout.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ extension Application {
2323
public struct RegistryLogout: AsyncLoggableCommand {
2424
public init() {}
2525
public static let configuration = CommandConfiguration(
26-
abstract: "Log out from a registry")
26+
commandName: "logout",
27+
abstract: "Log out from a registry"
28+
)
2729

2830
@OptionGroup
2931
public var logOptions: Flags.Logging

0 commit comments

Comments
 (0)