mpost --version (return code: 0)
MetaPost 1.999 (TeX Live 2015/Debian) (kpathsea version 6.2.1) The MetaPost source code in the public domain. MetaPost also uses code available under the GNU Lesser General Public License (version 3 or later); therefore MetaPost executables are covered by the LGPL. There is NO warranty. For more information about these matters, see the file COPYING.LESSER or <http://gnu.org/licenses/lgpl.html>. Original author of MetaPost: John Hobby. Author of the CWEB MetaPost: Taco Hoekwater. Current maintainer of MetaPost: Luigi Scarso. Compiled with cairo 1.14.2; using 1.14.2 Compiled with pixman 0.33.6; using 0.33.6 Compiled with libpng 1.6.17; using 1.6.17 Compiled with zlib 1.2.8; using 1.2.8 Compiled with mpfr 3.1.4-rc1; using 3.1.4 Compiled with gmp 6.1.0; using 6.1.0
mpost --help (return code: 0)
This is MetaPost 1.999 (TeX Live 2015/Debian) (kpathsea version 6.2.1) Usage: mpost [OPTION] [&MEMNAME] [MPNAME[.mp]] [COMMANDS] mpost --dvitomp DVINAME[.dvi] [MPXNAME[.mpx]] Run MetaPost on MPNAME, usually creating MPNAME.NNN (and perhaps MPNAME.tfm), where NNN are the character numbers generated. Any remaining COMMANDS are processed as MetaPost input, after MPNAME is read. With a --dvitomp argument, MetaPost acts as DVI-to-MPX converter only. Call MetaPost with --dvitomp --help for option explanations. -ini be inimpost, for dumping mem files -interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/ scrollmode/errorstopmode) -numbersystem=STRING set number system mode (STRING=scaled/double/binary/decimal) -jobname=STRING set the job name to STRING -progname=STRING set program (and mem) name to STRING -tex=TEXPROGRAM use TEXPROGRAM for text labels [-no]-file-line-error disable/enable file:line:error style messages -debug print debugging info and leave temporary files in place -kpathsea-debug=NUMBER set path searching debugging flags according to the bits of NUMBER -mem=MEMNAME or &MEMNAME use MEMNAME instead of program name or a %& line -recorder enable filename recorder -troff set prologues:=1 and assume TEXPROGRAM is really troff -s INTERNAL="STRING" set internal INTERNAL to the string value STRING -s INTERNAL=NUMBER set internal INTERNAL to the integer value NUMBER -help display this help and exit -version output version information and exit Email bug reports to email@example.com.