doc: read-only mode
This commit is contained in:
parent
d6e801e0ee
commit
536440bafe
2 changed files with 2 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue