simply spawn 'man marked' instead of trying to locate marked.1

Forwarded: not-needed
Last-Update: 2012-03-15
===================================================================

Gbp-Pq: Name 2001_man_global.patch
This commit is contained in:
Jérémy Lal 2022-06-27 15:38:34 +08:00 committed by Lu zhiping
parent 45cdb10090
commit bbd373b3e0
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ function help() {
stdio: 'inherit'
};
spawn('man', [path.resolve(__dirname, '/../man/marked.1')], options)
spawn('man', ['marked'], options)
.on('error', function() {
fs.readFile(path.resolve(__dirname, '/../man/marked.1.txt'), 'utf8', function(err, data) {
if (err) throw err;