module/gerrit: add warning for --force delete projects
diff --git a/module/gerrit/scheme.sh b/module/gerrit/scheme.sh
index 01164cf..f034429 100644
--- a/module/gerrit/scheme.sh
+++ b/module/gerrit/scheme.sh
@@ -265,7 +265,9 @@
{
local -r flags=\"--yes-really-delete\"
- gerrit_ssh \"delete-project delete \$flags \${@}\"
+ echo >&2 \"warning: to force deletion run:\"
+ echo >&2 \" ssh -p \$SSH_PORT \$SSH_USER@\$SSH_HOST delete-project delete \$flags --force \$1\"
+ gerrit_ssh delete-project delete \$flags \${@}
}
function gerrit_flush_all_caches