doc: read-only mode

This commit is contained in:
jean-emmanuel 2017-03-21 08:36:41 +01:00
parent d6e801e0ee
commit 536440bafe
2 changed files with 2 additions and 1 deletions

View file

@ -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'

View file

@ -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