From 48b50fad6d13229aadfb21cb602d3119e32993ea Mon Sep 17 00:00:00 2001 From: Korneliusz Osmenda Date: Tue, 6 Sep 2022 19:32:31 +0200 Subject: [PATCH] Fix onoff --- scripts/onoff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/onoff.py b/scripts/onoff.py index 6442d24..12c2055 100755 --- a/scripts/onoff.py +++ b/scripts/onoff.py @@ -12,8 +12,8 @@ if __name__ == "__main__": parser = argparse.ArgumentParser(description='Control power') group = parser.add_mutually_exclusive_group() - group.add_argument('-0', '--on', action='store_true') - group.add_argument('-1', '--off', action='store_true') + group.add_argument('-1', '--on', action='store_true') + group.add_argument('-0', '--off', action='store_true') args = parser.parse_args()