491 |
491 |
492 |
492 |
493 def main(): |
493 def main(): |
494 # Define the command line arguments. |
494 # Define the command line arguments. |
495 parser = argparse.ArgumentParser() |
495 parser = argparse.ArgumentParser() |
|
496 parser.add_argument("config", help="Path to configuration file") |
496 parser.add_argument("filename", nargs='?', help="Measurement file name or path.", default='') |
497 parser.add_argument("filename", nargs='?', help="Measurement file name or path.", default='') |
497 parser.add_argument("system", nargs='?', help="Processing system id.", default=0) |
498 parser.add_argument("system", nargs='?', help="Processing system id.", default=0) |
498 parser.add_argument("-c", "--config", help="Path to configuration file") |
|
499 parser.add_argument("-p", "--process", help="Wait for the results of the processing.", |
499 parser.add_argument("-p", "--process", help="Wait for the results of the processing.", |
500 action="store_true") |
500 action="store_true") |
501 parser.add_argument("--delete", help="Measurement ID to delete.") |
501 parser.add_argument("--delete", help="Measurement ID to delete.") |
502 parser.add_argument("--rerun-all", help="Measurement ID to rerun.") |
502 parser.add_argument("--rerun-all", help="Measurement ID to rerun.") |
503 parser.add_argument("--rerun-processing", help="Measurement ID to rerun processing routines.") |
503 parser.add_argument("--rerun-processing", help="Measurement ID to rerun processing routines.") |