diff --git a/bin/hedgedoc b/bin/hedgedoc
index 5b5c43c995f1a51f84ac96e2d9ef7b0e8d9ee9c9..f6fa78ff04da868cc56cadfa25b15c23a23c9308 100755
--- a/bin/hedgedoc
+++ b/bin/hedgedoc
@@ -413,6 +413,11 @@ function main() {
     esac
 }
 
+# Do the usage function of no Command line arguments are given.
+if [[ $# -eq 0 ]]; then
+  set -- "help"
+fi  
+
 # Allow importing funcs without running main by using `source ./bin/hedgedoc --import`
 if [[ "${1:-}" != "--import" ]]; then
     main "$@" || exit $?