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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
- Released version firebase-tools-ui@1.13.0, which adds Emulator UI support for firealerts events.
- Improved errors when an incorrect service ID is passed to `firebase deploy --only dataconnect:serviceId`.
- Fixed display of errors in Firestore commands when using JSON or noninteractive modes. (#7482)
- Fixed an issue where Firestore backup schedule commands had invalid short option names. (#7481)
8 changes: 4 additions & 4 deletions src/commands/firestore-backups-schedules-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import { FirebaseError } from "../error";
export const command = new Command("firestore:backups:schedules:create")
.description("Create a backup schedule under your Cloud Firestore database.")
.option(
"-db, --database <databaseId>",
"-d, --database <databaseId>",
"Database under which you want to create a schedule. Defaults to the (default) database",
)
.option("-rt, --retention <duration>", "duration string (e.g. 12h or 30d) for backup retention")
.option("-rc, --recurrence <recurrence>", "Recurrence settings; either DAILY or WEEKLY")
.option("--retention <duration>", "duration string (e.g. 12h or 30d) for backup retention")
.option("--recurrence <recurrence>", "Recurrence settings; either DAILY or WEEKLY")
.option(
"-dw, --day-of-week <dayOfWeek>",
"--day-of-week <dayOfWeek>",
"On which day of the week to perform backups; one of MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY",
)
.before(requirePermissions, ["datastore.backupSchedules.create"])
Expand Down
2 changes: 1 addition & 1 deletion src/commands/firestore-backups-schedules-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { PrettyPrint } from "../firestore/pretty-print";
export const command = new Command("firestore:backups:schedules:list")
.description("List backup schedules under your Cloud Firestore database.")
.option(
"-db, --database <databaseId>",
"-d, --database <databaseId>",
"Database whose schedules you wish to list. Defaults to the (default) database.",
)
.before(requirePermissions, ["datastore.backupSchedules.list"])
Expand Down
2 changes: 1 addition & 1 deletion src/commands/firestore-backups-schedules-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { FirebaseError } from "../error";

export const command = new Command("firestore:backups:schedules:update <backupSchedule>")
.description("Update a backup schedule under your Cloud Firestore database.")
.option("-rt, --retention <duration>", "duration string (e.g. 12h or 30d) for backup retention")
.option("--retention <duration>", "duration string (e.g. 12h or 30d) for backup retention")
.before(requirePermissions, ["datastore.backupSchedules.update"])
.before(warnEmulatorNotSupported, Emulators.FIRESTORE)
.action(async (backupScheduleName: string, options: FirestoreOptions) => {
Expand Down