Adding maximize option

This commit is contained in:
Hector Sam 2020-06-11 20:01:15 +02:00
parent 8c1f96d1f3
commit 792dbcda08
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ Show the version of the Terminator installation
.TP .TP
.B \-m, \-\-maximise .B \-m, \-\-maximise
Start with a maximised window Start with a maximised window
.B \-M, \-\-maximize
Start with a maximized window
.TP .TP
.B \-f, \-\-fullscreen .B \-f, \-\-fullscreen
Start with a fullscreen window Start with a fullscreen window

View File

@ -49,6 +49,8 @@ def parse_options():
help=_('Display program version')) help=_('Display program version'))
parser.add_option('-m', '--maximise', action='store_true', dest='maximise', parser.add_option('-m', '--maximise', action='store_true', dest='maximise',
help=_('Maximize the window')) help=_('Maximize the window'))
parser.add_option('-M', '--maximize', action='store_true', dest='maximise',
help=_('Maximize the window'))
parser.add_option('-f', '--fullscreen', action='store_true', parser.add_option('-f', '--fullscreen', action='store_true',
dest='fullscreen', help=_('Make the window fill the screen')) dest='fullscreen', help=_('Make the window fill the screen'))
parser.add_option('-b', '--borderless', action='store_true', parser.add_option('-b', '--borderless', action='store_true',