diff --git a/boottest.py b/boottest.py index 79c212a..254e8e0 100644 --- a/boottest.py +++ b/boottest.py @@ -158,7 +158,7 @@ class BootTest(object): command = [ self.script_path, "-c", self.rc_path, - "-d", self.distribution, "-s", self.series, + "-r", self.series, ] command.extend(args) return subprocess.check_output(command).strip() diff --git a/tests/test_boottest.py b/tests/test_boottest.py index acc6675..c788959 100644 --- a/tests/test_boottest.py +++ b/tests/test_boottest.py @@ -190,8 +190,7 @@ def collect(): f.write(template) p = argparse.ArgumentParser() -p.add_argument('-d') -p.add_argument('-s') +p.add_argument('-r') p.add_argument('-c') sp = p.add_subparsers()