kpsewhich --version (return code: 0)
kpathsea version 6.2.1 Copyright 2015 Karl Berry & Olaf Weber. License LGPLv2.1+: GNU Lesser GPL version 2.1 or later <http://gnu.org/licenses/lgpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
kpsewhich --help (return code: 0)
Usage: kpsewhich [OPTION]... [FILENAME]... Standalone path lookup and expansion for the Kpathsea library. The default is to look up each FILENAME in turn and report its first match (if any) to standard output. When looking up format (.fmt/.base/.mem) files, it is usually necessary to also use -engine, or nothing will be returned; in particular, -engine=/ will return matching format files for any engine. -all output all matches, one per line. -debug=NUM set debugging flags. -D, -dpi=NUM use a base resolution of NUM; default 600. -engine=STRING set engine name to STRING. -expand-braces=STRING output variable and brace expansion of STRING. -expand-path=STRING output complete path expansion of STRING. -expand-var=STRING output variable expansion of STRING. -format=NAME use file type NAME (see list below). -help display this message and exit. -help-formats display information about all supported file formats. -interactive ask for additional filenames to look up. [-no]-mktex=FMT disable/enable mktexFMT generation (FMT=pk/mf/tex/tfm). -mode=STRING set device name for $MAKETEX_MODE to STRING; no default. -must-exist search the disk as well as ls-R if necessary. -path=STRING search in the path STRING. -progname=STRING set program name to STRING. -safe-in-name=STRING check if STRING is ok to open for input. -safe-out-name=STRING check if STRING is ok to open for output. -show-path=NAME output search path for file type NAME (list below). -subdir=STRING only output matches whose directory ends with STRING. -var-value=STRING output the value of variable $STRING. -version display version information number and exit. Email bug reports to email@example.com. Kpathsea home page: http://tug.org/kpathsea/