Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --end flag for add command #708

Merged
merged 1 commit into from
Aug 25, 2024
Merged

Add --end flag for add command #708

merged 1 commit into from
Aug 25, 2024

Conversation

dbarnett
Copy link
Collaborator

Instead of specifying an event duration during creation, it can be useful to give an event end time. This commit adds a --end flag that can be used as an alternative to the --duration flag.

The --end flag takes a date string similar to the --when flag.

It's an error to supply both --end and --duration flags. Given neither flag, duration will be asked for in interactive mode.

Updated replacement for PR #307.

@dbarnett dbarnett merged commit 9444589 into master Aug 25, 2024
16 checks passed
@dbarnett dbarnett deleted the add_endflag branch August 25, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant