# HG changeset patch # User Victor Nicolae # Date 1510302105 -7200 # Node ID cefef866804cd76a469c230bf7496de0f5dc044a # Parent fc270953f14b6f3ae04e6584927c8cda64b73f6e Fix 'files' command line option being optional. diff -r fc270953f14b -r cefef866804c atmospheric_lidar/scripts/licel2scc.py --- a/atmospheric_lidar/scripts/licel2scc.py Fri Nov 10 10:20:03 2017 +0200 +++ b/atmospheric_lidar/scripts/licel2scc.py Fri Nov 10 10:21:45 2017 +0200 @@ -74,7 +74,7 @@ # Define the command line argument parser = argparse.ArgumentParser(description="A program to convert Licel binary files to the SCC NetCDF format.") parser.add_argument("parameter_file", help="The path to a parameter file linking licel and SCC channels.") - parser.add_argument("files", nargs='?', help="Location of licel files. Use relative path and filename wildcards. (default './*.*')", + parser.add_argument("files", help="Location of licel files. Use relative path and filename wildcards. (default './*.*')", default="./*.*") parser.add_argument("-i", '--id_as_name', help="Use transient digitizer ids as channel names, instead of descriptive names",