aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseConseco <bartosz.styperek@gmail.com>2022-11-07 11:18:43 +0100
committerJoseConseco <bartosz.styperek@gmail.com>2022-11-07 11:18:43 +0100
commit3651a03751353b2f7d02178053462d61bce8349c (patch)
tree141f17839e0b48aad18130612655a5276fdbf6d7
parent3979ef9f8e5a00ed64559b46bbfbf9bfa1f4223e (diff)
downloadautotiling-3651a03751353b2f7d02178053462d61bce8349c.tar.gz
fix default values, escap %
-rw-r--r--autotiling/main.py6
1 files 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.