From 536440bafe91498711687118da9db61db914130d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 21 Mar 2017 08:36:41 +0100 Subject: [PATCH] doc: read-only mode --- app/main/settings.js | 2 +- resources/docs/getting-started.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main/settings.js b/app/main/settings.js index 6062f185..b9bc4282 100644 --- a/app/main/settings.js +++ b/app/main/settings.js @@ -51,7 +51,7 @@ var options = { } }, 'disable-vsync':{type:'boolean',describe:'disable gui\'s vertical synchronization', restart: true}, - 'read-only':{type:'boolean',describe:'disable session editing', + 'read-only':{type:'boolean',describe:'disable session editing and session history changes', check: (r, argv)=>{ return (!argv.b) ? true : 'blank session can\'t be started in read-only mode' diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md index ce533a9b..7f67f581 100644 --- a/resources/docs/getting-started.md +++ b/resources/docs/getting-started.md @@ -25,6 +25,7 @@ Below are the available command-line switches. Note that when running without an -t, --theme theme name or path (mutliple values allowed) -e, --examples list examples instead of recent sessions --disable-vsync disable gui's vertical synchronization + --read-only disable session editing and session history changes -h, --help display help -v, --version display version number