X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Futils.c;h=16d2f817ad8a1b21d99228a67e5bba25e0d1f3fa;hp=1e52ae0aa073640a34f8b035376bb6b5119d5660;hb=b07e7ef09b90a6bbb055f49bb2a6586dd45e73c9;hpb=840f78587cd09d4bbd9b69bc02fe0f625cc05d19 diff --git a/src/common/utils.c b/src/common/utils.c index 1e52ae0aa..16d2f817a 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -1375,11 +1375,11 @@ int utils_show_man_page(int section, const char *page_name) /* * Execute man pager. * - * We provide --manpath to man here because LTTng-tools can + * We provide -M to man here because LTTng-tools can * be installed outside /usr, in which case its man pages are * not located in the default /usr/share/man directory. */ - ret = execlp(man_bin_path, "man", "--manpath", MANPATH, + ret = execlp(man_bin_path, "man", "-M", MANPATH, section_string, page_name, NULL); return ret; }