diff --git a/eodatasets3/prepare/sentinel_l1_prepare.py b/eodatasets3/prepare/sentinel_l1_prepare.py index b02ab1d1..ee7fe531 100644 --- a/eodatasets3/prepare/sentinel_l1_prepare.py +++ b/eodatasets3/prepare/sentinel_l1_prepare.py @@ -528,7 +528,8 @@ def main( dry_run: bool, index_to_odc: bool, ): - output_base = normalise_path(output_base) + output_base = normalise_path(output_base) if output_base else None + if sys.argv[1] == "sentinel-l1c": warnings.warn( "Command name 'sentinel-l1c-prepare' is deprecated: remove the 'c', and use `sentinel-l1-prepare`"