diff --git a/modules/interactive.js b/modules/interactive.js index 1867193..b78e80b 100644 --- a/modules/interactive.js +++ b/modules/interactive.js @@ -261,7 +261,7 @@ limitations under the License. console.log(JSON.stringify(translation)); process.exit(); } - if (process.argv.includes('-help')) + if (process.argv.includes('-help') || (process.platform == 'linux' && process.env['XAUTHORITY']==null && process.env['DISPLAY'] == null)) { console.log("\n" + translation[lang].commands + ": "); if ((msh.InstallFlags & 1) == 1)