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

counter does not default to id #42

Open
icornelius opened this issue Aug 25, 2024 · 0 comments
Open

counter does not default to id #42

icornelius opened this issue Aug 25, 2024 · 0 comments
Assignees
Labels

Comments

@icornelius
Copy link
Collaborator

The help for --counter states "defaults to --id if present". In fact, there is no inheritance from --id. counter cannot be called by --name unless a counter value has been supplied with --counter. For instance

zettel --set-title "This is a test" --id foo --name id counter timestamp

Generates the error message

--name ['id', 'counter', 'timestamp'] requires --counter 
@icornelius icornelius self-assigned this Aug 25, 2024
@icornelius icornelius added the bug label Aug 25, 2024
icornelius added a commit to icornelius/zettelgeist that referenced this issue Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant