Merge pull request #126 from qckzr/maximize-option

Adding maximize option
This commit is contained in:
Matt Rose 2020-06-11 14:43:26 -04:00 committed by GitHub
commit 616ed8a7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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',