Skip to content

Commit 792dbcd

Browse files
committed
Adding maximize option
1 parent 8c1f96d commit 792dbcd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/terminator.1

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Show the version of the Terminator installation
2525
.TP
2626
.B \-m, \-\-maximise
2727
Start with a maximised window
28+
.B \-M, \-\-maximize
29+
Start with a maximized window
2830
.TP
2931
.B \-f, \-\-fullscreen
3032
Start with a fullscreen window

terminatorlib/optionparse.py

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ def parse_options():
4949
help=_('Display program version'))
5050
parser.add_option('-m', '--maximise', action='store_true', dest='maximise',
5151
help=_('Maximize the window'))
52+
parser.add_option('-M', '--maximize', action='store_true', dest='maximise',
53+
help=_('Maximize the window'))
5254
parser.add_option('-f', '--fullscreen', action='store_true',
5355
dest='fullscreen', help=_('Make the window fill the screen'))
5456
parser.add_option('-b', '--borderless', action='store_true',

0 commit comments

Comments
 (0)