Commit c7093aca authored by Štěpán Balážik's avatar Štěpán Balážik Committed by Petr Špaček

rplint: add note about running on directories

parent b7e1c770
......@@ -295,6 +295,10 @@ if __name__ == '__main__':
except IndexError:
print("usage: %s <path to rpl file>" % sys.argv[0])
if not os.path.isfile(test_path):
print(" works on single file only.")
print("Use with --scenarios=<directory with rpls> to run on rpls.")
print("Linting %s" % test_path)
t = RplintTest(test_path)
passed = t.run_checks()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment