From 3651a03751353b2f7d02178053462d61bce8349c Mon Sep 17 00:00:00 2001 From: JoseConseco Date: Mon, 7 Nov 2022 11:18:43 +0100 Subject: fix default values, escap % --- autotiling/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autotiling/main.py b/autotiling/main.py index a9b48d9..b3803f1 100644 --- a/autotiling/main.py +++ b/autotiling/main.py @@ -149,13 +149,13 @@ def main(): "--splitheight", help='set the height of the horizontal split (as factor); default: 1.0;', type=float, - default=1, ) + default=1.0, ) parser.add_argument("-sr", "--splitratio", help='Split direction ratio - based on window height/width; default: 1;' - 'try "1.61", for golden ratio - window has to be 61% wider for left/right split; default: 1.0;', + 'try "1.61", for golden ratio - window has to be 61%% wider for left/right split; default: 1.0;', type=float, - default=1, ) + default=1.0, ) """ Changing event subscription has already been the objective of several pull request. To avoid doing this again and again, let's allow to specify them in the `--events` argument. -- cgit