We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c71c2 commit 1d4adebCopy full SHA for 1d4adeb
cmd/modern/main.go
@@ -49,7 +49,7 @@ func main() {
49
// isFirstArgModernCliSubCommand is TEMPORARY code, to be removed when
50
// we remove the Kong based CLI
51
func isFirstArgModernCliSubCommand() (isNewCliCommand bool) {
52
- if len(os.Args) > 0 {
+ if len(os.Args) > 1 {
53
if rootCmd.IsValidSubCommand(os.Args[1]) {
54
isNewCliCommand = true
55
}
0 commit comments