Skip to content

Commit

Permalink
Merge pull request #126 from qckzr/maximize-option
Browse files Browse the repository at this point in the history
Adding maximize option
  • Loading branch information
mattrose authored Jun 11, 2020
2 parents 8c1f96d + 792dbcd commit 616ed8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/terminator.1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Show the version of the Terminator installation
.TP
.B \-m, \-\-maximise
Start with a maximised window
.B \-M, \-\-maximize
Start with a maximized window
.TP
.B \-f, \-\-fullscreen
Start with a fullscreen window
Expand Down
2 changes: 2 additions & 0 deletions terminatorlib/optionparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def parse_options():
help=_('Display program version'))
parser.add_option('-m', '--maximise', action='store_true', dest='maximise',
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',
dest='fullscreen', help=_('Make the window fill the screen'))
parser.add_option('-b', '--borderless', action='store_true',
Expand Down

0 comments on commit 616ed8a

Please sign in to comment.