From 7def4fa31860d216d752b13c19a2062f22595c8c Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Wed, 18 May 2016 21:54:05 +0200 Subject: [PATCH] helptext --- update.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/update.py b/update.py index 74c2801..8d72342 100644 --- a/update.py +++ b/update.py @@ -373,9 +373,13 @@ def main(argv): if argv[1] in ['-h', '--help']: print('Usage:') - print(' python update.py --self Update this script and fetch or update infrastructure files under autocmake/.') - print(' python update.py (Re)generate CMakeLists.txt and setup script and fetch or update CMake modules.') - print(' python update.py (-h | --help) Show this help text.') + for t, h in [('python update.py --self', + 'Update this script and fetch or update infrastructure files under autocmake/.'), + ('python update.py ', + '(Re)generate CMakeLists.txt and setup script and fetch or update CMake modules.'), + ('python update.py (-h | --help)', + 'Show this help text.')]: + print(' {0:30} {1}'.format(t, h)) sys.exit(0) if argv[1] == '--self':