From ce9bb61c8e9f282c24a1858bb410ee852d3b2268 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 28 Dec 2020 10:09:05 +0100 Subject: [PATCH] [ux] error message on bad usage of ynh-dev --- ynh-dev | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ynh-dev b/ynh-dev index fa8301e..20ad02b 100755 --- a/ynh-dev +++ b/ynh-dev @@ -310,6 +310,9 @@ function use_git() warn "-------------------------------------------------------- " su ynhdev -c "./node_modules/gulp/bin/gulp.js watch --dev" + ;; + *) + error "Invalid package '$PACKAGE': correct arguments are 'yunohost', 'ssowat', 'moulinette', 'yunohost-admin'" ;; esac done