summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/manage_users4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/manage_users b/bin/manage_users
index b23a0c5a..8c356200 100755
--- a/bin/manage_users
+++ b/bin/manage_users
@@ -108,6 +108,10 @@ if (opts.length === 0) {
if (opts.length > 1) {
showUsage(`You cannot ${action.join(' and ')} at the same time!`);
}
+// Check if not string
+if (typeof argv[action] !== 'string') {
+ showUsage(`You must follow an email after --${action}`);
+}
// Call respective processing functions
options[action](argv).then(function() {