Fri, 10 Nov 2017 10:21:45 +0200
Fix 'files' command line option being optional.
atmospheric_lidar/scripts/licel2scc.py | file | annotate | diff | comparison | revisions |
--- 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",