mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 00:15:28 +02:00
mh_copyright: add page (#7910)
Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>
This commit is contained in:
parent
6c1370e1e9
commit
7f30b7211e
1 changed files with 12 additions and 0 deletions
12
pages/common/mh_copyright.md
Normal file
12
pages/common/mh_copyright.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue