tldr/pages/common/mh_copyright.md

13 lines
448 B
Markdown
Raw Normal View History

# mh_copyright
> Adjust copyright headers for MATLAB or Octave code.
> More information: <https://misshit.org>.
- Update the year (range) to include the current year for the specified files:
`mh_copyright --primary-entity="{{entity}}" --update-year {{path/to/file_or_directory1.m path/to/file_or_director2.m ...}}`
- Update the year (range) to include the current year for all files:
`mh_copyright --primary-entity="{{entity}}" --update-year`