diff --git a/htop.1 b/htop.1 index b91275e5..e40defcc 100644 --- a/htop.1 +++ b/htop.1 @@ -50,6 +50,10 @@ Trace process system calls: if strace(1) is installed, pressing this key will attach it to the currently selected process, presenting a live update of system calls issued by the process. .TP +.B l +Display open files for a process: if lsof(1) is installed, pressing this key +will display the list of file descriptors opened by the process. +.TP .B F1, h Help screen .TP diff --git a/htop.c b/htop.c index e04f9350..47f16dbc 100644 --- a/htop.c +++ b/htop.c @@ -139,7 +139,7 @@ static void showHelp(ProcessList* pl) { mvaddstr(18, 0, " a:"); #endif mvaddstr(19, 0, " F2 S"); mvaddstr(19,40, " F6 >"); - mvaddstr(20, 0, " F1 h"); + mvaddstr(20, 0, " F1 h"); mvaddstr(20,40, " l"); mvaddstr(21, 0, " F10 q"); mvaddstr(21,40, " s"); attrset(CRT_colors[DEFAULT_COLOR]);