From 4255c2663dca22f5d70fee8407aa56df7b0f3f56 Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Wed, 19 Oct 2011 17:54:09 +0200 Subject: losmoketest.py: allow to use the long --headless option; not only -s --- smoketestoo_native/losmoketest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smoketestoo_native/losmoketest.py b/smoketestoo_native/losmoketest.py index 42a8efb0fc63..4875df245302 100755 --- a/smoketestoo_native/losmoketest.py +++ b/smoketestoo_native/losmoketest.py @@ -570,6 +570,8 @@ def main(): interactive = False elif o in ("-t", "--type"): pass + elif o in ("-s", "--headless"): + pass elif o in ("-h", "--help"): usage() sys.exit() @@ -591,7 +593,7 @@ def main(): elif o in ("-l", "--loop"): loop = True else: - assert False, "Unhandled option" + assert False, "Unhadled option: " + o if interactive == True: key = raw_input("The testing will OVERRIDE existed libreoffice, continue(y/N)? ") -- cgit