Skip to content

Commit 86d7bc1

Browse files
committed
Reapply "Separate logs between unimplemented subcommands and unknown subcommands"
This reverts commit 263cf07.
1 parent d36f2a1 commit 86d7bc1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/src/podcvd/main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,11 @@ func main() {
227227
if err := handleToolingSubcommands(ccm, cvdArgs); err != nil {
228228
log.Fatal(err)
229229
}
230-
default:
230+
case "cache", "fetch", "lint", "load", "login":
231231
// TODO(seungjaeyoo): Support other subcommands of cvd as well.
232232
log.Fatalf("subcommand %q is not implemented yet", subcommand)
233+
default:
234+
log.Fatalf("unknown subcommand %q", subcommand)
233235
}
234236
}
235237
}

0 commit comments

Comments
 (0)