From 1fca396be2aade21836f944073ed3db21eae881e Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Thu, 22 Sep 2016 12:45:45 +0100 Subject: [PATCH] fix comments for user create --- server-ce/grunt/CreateAndDestoryUsers.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server-ce/grunt/CreateAndDestoryUsers.coffee b/server-ce/grunt/CreateAndDestoryUsers.coffee index 293c1d6ef2..0f0bff2e0f 100644 --- a/server-ce/grunt/CreateAndDestoryUsers.coffee +++ b/server-ce/grunt/CreateAndDestoryUsers.coffee @@ -1,11 +1,11 @@ module.exports = (grunt) -> - grunt.registerTask 'user:create-admin', "Create a user with the given email address and make them an admin. Update in place if the user already exists. Usage: grunt create-admin-user --email joe@example.com", () -> + grunt.registerTask 'user:create-admin', "Create a user with the given email address and make them an admin. Update in place if the user already exists. Usage: grunt user:create-admin --email joe@example.com", () -> done = @async() email = grunt.option("email") if !email? - console.error "Usage: grunt create-admin-user --email joe@example.com" + console.error "Usage: grunt user:create-admin --email joe@example.com" process.exit(1) settings = require "settings-sharelatex" @@ -35,11 +35,11 @@ module.exports = (grunt) -> """ done() - grunt.registerTask 'user:delete', "deletes a user and all their data, Usage: grunt delete-user --email joe@example.com", () -> + grunt.registerTask 'user:delete', "deletes a user and all their data, Usage: grunt user:delete --email joe@example.com", () -> done = @async() email = grunt.option("email") if !email? - console.error "Usage: grunt delete-user --email joe@example.com" + console.error "Usage: grunt user:delete --email joe@example.com" process.exit(1) settings = require "settings-sharelatex" UserGetter = require "../web/app/js/Features/User/UserGetter"