Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/cli/commands/project/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export function getLogsCommand(): Command {
.addOption(
new Option(
"--env <env>",
"Which deployment to read logs from: preview (current draft) or prod (published). Default: preview",
"Which deployment to read logs from: preview (current draft) or prod (published). Omit to read both.",
).choices([...LogEnvSchema.options]),
)
.action(logsAction);
Expand Down
1 change: 1 addition & 0 deletions packages/cli/tests/cli/logs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ describe("logs command", () => {
t.expectResult(result).toContain("--level <level>");
t.expectResult(result).toContain("all deployed functions");
t.expectResult(result).toContain("the server returns at most 500");
t.expectResult(result).toContain("Omit to read both");
});

it("filters function logs by --level", async () => {
Expand Down
Loading