Actions
Bug #1043
closedlttng list -h fails due to unsupported parameter
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/11/2016
Due date:
% Done:
100%
Estimated time:
Description
On Slackware64-14.2, lttng list -h
fails with:
# lttng list -h man: unrecognized option '--manpath' man, version 1.6g usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list] [-m system] [-p string] name ... (...)
Running it with strace
shows it is attempting:
execve("/usr/bin/man", ["man", "--manpath", "/usr/local/share/man", "1", "lttng-list"], [/* 36 vars */]) = 0
Checking the manual page for man
, the command should be:
man -M /usr/local/share/man 1 lttng-list
Both Linux and FreeBSD supports -M
and do not list --manpath
.
Attached patch was successfully tested on Slackware64.
Files
Updated by Ricardo Nabinger Sanchez over 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset tools|commit:b07e7ef09b90a6bbb055f49bb2a6586dd45e73c9.
Actions