Skip to content

Commit

Permalink
Fix sync-calendar command in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
tidoust committed May 7, 2024
1 parent ceca401 commit be2f5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ program
.argument('<number>', 'session to synchronize. Either a session number or "all" to synchronize all sessions.')
.option('-s, --status <status>', 'status of the calendar entries: "draft", "tentative" or "confirmed".')
.option('-q, --quiet', 'make the command fail silently without error when the session is invalid. Useful for jobs.')
.action(getCommandRunner('synchronizeCalendar'))
.action(getCommandRunner(synchronizeCalendar))
.addHelpText('after', `
Notes:
- The command follows the project's "calendar" setting by default. If that setting is absent or set to "no" and the \`status\` option is not set either, the command will not do anything.
Expand Down

0 comments on commit be2f5e5

Please sign in to comment.