Skip to content

Commit 846c64b

Browse files
authored
Merge pull request #212 from hxadogar/fix-diff-discovery-after-plugin
fix diff command registration order
2 parents 34f655f + 90b5cf8 commit 846c64b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

checkpointctl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func main() {
2929
rootCommand.AddCommand(cmd.List())
3030
rootCommand.AddCommand(cmd.BuildCmd())
3131
rootCommand.AddCommand(cmd.PluginCmd())
32+
rootCommand.AddCommand(cmd.Diff())
3233

3334
// Discover and register external plugins from PATH.
3435
// Plugins are executables named checkpointctl-<name> where <name>
@@ -42,7 +43,6 @@ func main() {
4243
rootCommand.AddCommand(cmd.CreatePluginCommand(plugin))
4344
}
4445

45-
rootCommand.AddCommand(cmd.Diff())
4646

4747
rootCommand.Version = version
4848

0 commit comments

Comments
 (0)