diff --git a/scripts/upgrade_oniro/upgrade_oniro.py b/scripts/upgrade_oniro/upgrade_oniro.py index ac7604dd08d8f9d6b2b6f42a6793f697e642d492..41cb1f69e2a6838441192bb196df3283ebc4480e 100644 --- a/scripts/upgrade_oniro/upgrade_oniro.py +++ b/scripts/upgrade_oniro/upgrade_oniro.py @@ -59,9 +59,9 @@ def init_script_options(): parser = argparse.ArgumentParser(description=script_description) # TODO a choice could be added in the version by checking all the tags of Oniro - parser.add_argument("-tv", "--target-version", type=str, required=True, + parser.add_argument("target-version", type=str, help="Specify the target version of Oniro you want to upgrade to") - parser.add_argument("-d", "--build-directory", type=pathlib.Path, required=True, + parser.add_argument("build-directory", type=pathlib.Path, help="Path to the build directory you want to use (can be non-existent)") # TODO a choice could be added in the machine parser.add_argument("-m", "--machine", type=str, default="qemux86-64",