Wed, 10 Jan 2018 18:06:02 +0200
Changes config to positional argument.
CHANGELOG.rst | file | annotate | diff | comparison | revisions | |
scc_access/scc_access.py | file | annotate | diff | comparison | revisions |
--- a/CHANGELOG.rst Wed Jan 10 17:58:15 2018 +0200 +++ b/CHANGELOG.rst Wed Jan 10 18:06:02 2018 +0200 @@ -4,6 +4,7 @@ 0.6.2 - 2018-01-10 ------------------ * Fixed bug when download optical files. +* Changes config file path to positional argument. 0.6.1 - 2017-12-15 ------------------
--- a/scc_access/scc_access.py Wed Jan 10 17:58:15 2018 +0200 +++ b/scc_access/scc_access.py Wed Jan 10 18:06:02 2018 +0200 @@ -493,9 +493,9 @@ def main(): # Define the command line arguments. parser = argparse.ArgumentParser() + parser.add_argument("config", help="Path to configuration file") parser.add_argument("filename", nargs='?', help="Measurement file name or path.", default='') parser.add_argument("system", nargs='?', help="Processing system id.", default=0) - parser.add_argument("-c", "--config", help="Path to configuration file") parser.add_argument("-p", "--process", help="Wait for the results of the processing.", action="store_true") parser.add_argument("--delete", help="Measurement ID to delete.")