ZettelGeist / zettelgeist

A less-is-more (distributed) notetaking application. Designed specifically for those who prefer working with the command line and want to do crazy indexing, analysis, and transformation of notes. Aimed at but not limited to scholarly research projects.
Apache License 2.0
30 stars 5 forks source link

`counter` does not default to `id` #42

Open icornelius opened 2 months ago

icornelius commented 2 months ago

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