From: Philipp Klaus Date: Thu, 10 Aug 2017 10:11:16 +0000 (+0200) Subject: OPUS20: opus20_hostname as posititional cli arg X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=8b18c6ee6c533a4706d477993ad069030d463dd7;p=mvd_epics.git OPUS20: opus20_hostname as posititional cli arg --- diff --git a/LUFFT_OPUS20/lufft_opus20_ioc.py b/LUFFT_OPUS20/lufft_opus20_ioc.py index 9e9805c..13ebffa 100755 --- a/LUFFT_OPUS20/lufft_opus20_ioc.py +++ b/LUFFT_OPUS20/lufft_opus20_ioc.py @@ -13,7 +13,7 @@ prefix = '{sys}:{sub}:ENVIRON:{esys}:' if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() - parser.add_argument('--opus20-hostname', '-o', help='The hostname of IP address of the OPUS20 logger.', required=True) + parser.add_argument('opus20_hostname', help='The hostname of IP address of the OPUS20 logger.') parser.add_argument('--sys', required=True, help='The detector system') parser.add_argument('--sub', required=True, help='The detector sub-system') parser.add_argument('--esys', required=True, help='The environmental sub system')