From 792dbcda085469048baff78a223579c45aabff59 Mon Sep 17 00:00:00 2001 From: Hector Sam Date: Thu, 11 Jun 2020 20:01:15 +0200 Subject: [PATCH] Adding maximize option --- doc/terminator.1 | 2 ++ terminatorlib/optionparse.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/terminator.1 b/doc/terminator.1 index b2fd01fa..5d27afaa 100644 --- a/doc/terminator.1 +++ b/doc/terminator.1 @@ -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 diff --git a/terminatorlib/optionparse.py b/terminatorlib/optionparse.py index 2a4f64f7..7bff44d2 100644 --- a/terminatorlib/optionparse.py +++ b/terminatorlib/optionparse.py @@ -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',