From e3567ddc714ad40f6e9e958b39ffc96e60e9f6ee Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 25 Jul 2023 14:53:18 +0200 Subject: [PATCH] Build: Remove outdated argument handling No longer used Change-Id: Ife7edad49c66ee2a59d67ea4eca72767f8d73a7a Reviewed-by: Cristian Adam --- scripts/deploy.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/deploy.py b/scripts/deploy.py index 79aea111bdd..70a8399c8cc 100755 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -19,14 +19,10 @@ encoding = locale.getdefaultlocale()[1] def get_args(): parser = argparse.ArgumentParser(description='Deploy Qt Creator dependencies for packaging') - parser.add_argument('-i', '--ignore-errors', help='For backward compatibility', - action='store_true', default=False) parser.add_argument('--elfutils-path', help='Path to elfutils installation for use by perfprofiler (Windows, Linux)') - # TODO remove defaulting to LLVM_INSTALL_DIR when we no longer build qmake based packages parser.add_argument('--llvm-path', - help='Path to LLVM installation', - default=os.environ.get('LLVM_INSTALL_DIR')) + help='Path to LLVM installation') parser.add_argument('qtcreator_binary', help='Path to Qt Creator binary (or the app bundle on macOS)') parser.add_argument('qmake_binary', help='Path to qmake binary') @@ -53,9 +49,6 @@ def get_args(): return args -def usage(): - print("Usage: %s [qmake_path]" % os.path.basename(sys.argv[0])) - def which(program): def is_exe(fpath): return os.path.exists(fpath) and os.access(fpath, os.X_OK)