From 7f30b7211ea06828604c48c3f189a0596131917f Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Wed, 6 Apr 2022 04:05:16 -0300 Subject: [PATCH] mh_copyright: add page (#7910) Co-authored-by: Emily Grace Seville --- pages/common/mh_copyright.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/mh_copyright.md diff --git a/pages/common/mh_copyright.md b/pages/common/mh_copyright.md new file mode 100644 index 0000000000..4ff910b462 --- /dev/null +++ b/pages/common/mh_copyright.md @@ -0,0 +1,12 @@ +# mh_copyright + +> Adjust copyright headers for MATLAB or Octave code. +> More information: . + +- 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`