# HG changeset patch # User Iannis # Date 1515600362 -7200 # Node ID ddaea4327bd5068344a56b801bb11b666edb38c7 # Parent 93b6b945d9391fb4193889e2075ed8b00e1fc040 Changes config to positional argument. diff -r 93b6b945d939 -r ddaea4327bd5 CHANGELOG.rst --- 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 ------------------ diff -r 93b6b945d939 -r ddaea4327bd5 scc_access/scc_access.py --- 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.")