diff --git a/documentation/changelog.rst b/documentation/changelog.rst index b10ec2842..66958f1e0 100644 --- a/documentation/changelog.rst +++ b/documentation/changelog.rst @@ -10,6 +10,7 @@ New features Bugfixes ----------- +* Fix (dev) CLI command for adding a GenericAssetType [see `PR #173 `_] Infrastructure / Support ---------------------- diff --git a/flexmeasures/data/scripts/cli_tasks/data_add.py b/flexmeasures/data/scripts/cli_tasks/data_add.py index bd5866217..e013d060f 100755 --- a/flexmeasures/data/scripts/cli_tasks/data_add.py +++ b/flexmeasures/data/scripts/cli_tasks/data_add.py @@ -175,10 +175,9 @@ def add_sensor(**args): @with_appcontext @click.option("--name", required=True) @click.option( - "--hover-label", + "--description", type=str, - help="Label visible when hovering over the name in the UI.\n" - "Useful to explain acronyms, for example.", + help="Description (useful to explain acronyms, for example).", ) def add_generic_asset_type(**args): """Add a generic asset type."""