Commit e9f28edf authored by jvoisin's avatar jvoisin

Add a man page and document how to keep it up to date

parent 7697f9c0
Pipeline #18168 passed with stages
in 2 minutes and 25 seconds
......@@ -24,6 +24,9 @@ Since MAT2 is written in Python3, please conform as much as possible to the
1. Update the [changelog](
2. Update the version in the [mat2]( file
3. Update the version in the []( file
4. Commit the changelog, mat2 and files
5. Create a tag with `git tag -s $VERSION`
6. Push the tag with `git push --tags`
4. Update the version and date in the [man page](
5. Commit the changelog, man page, mat2 and files
6. Create a tag with `git tag -s $VERSION`
7. Push the commit with `git push origin master`
8. Push the tag with `git push --tags`
9. Do the secret release dance
.TH MAT2 "1" "July 2018" "MAT2 0.2.0" "User Commands"
mat2 \- the metadata anonymisation toolkit 2
mat2 [\-h] [\-v] [\-l] [\-c] [\-s | \-L]\fR [files [files ...]]
.B mat2
removes metadata from various fileformats. It supports a wide variety of file
formats, audio, office, images, …
.SS "positional arguments:"
the files to process
.SS "optional arguments:"
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
\fB\-v\fR, \fB\-\-version\fR
show program's version number and exit
\fB\-l\fR, \fB\-\-list\fR
list all supported fileformats
\fB\-c\fR, \fB\-\-check\-dependencies\fR
check if MAT2 has all the dependencies it needs
\fB\-s\fR, \fB\-\-show\fR
list harmful metadata detectable by MAT2 without
removing them
\fB\-L\fR, \fB\-\-lightweight\fR
remove SOME metadata
To remove all the metadata from a PDF file:
mat2 ./myfile.pdf
While mat2 does its very best to remove every single metadata,
it's still in beta, and \fBsome\fR might remain. Should you encounter
some issues, check the bugtracker:
Please use accordingly and be careful.
This software was made by Julien (jvoisin) Voisin with the support of the Tails project.
This software is released on LGPLv3.
.BR exiftool (1p)
.BR pdf-redact-tools (1)
......@@ -31,7 +31,7 @@ def __check_file(filename: str, mode: int=os.R_OK) -> bool:
def create_arg_parser():
parser = argparse.ArgumentParser(description='Metadata anonymisation toolkit 2')
parser.add_argument('files', nargs='*')
parser.add_argument('files', nargs='*', help='the files to process')
parser.add_argument('-v', '--version', action='version',
version='MAT2 %s' % __version__)
parser.add_argument('-l', '--list', action='store_true',
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment