diff options
-rw-r--r-- | bin/gitano-auth | 4 | ||||
-rw-r--r-- | lib/gitano/command.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/gitano-auth b/bin/gitano-auth index 73079de..04ef19c 100644 --- a/bin/gitano-auth +++ b/bin/gitano-auth @@ -100,7 +100,7 @@ end -- Validate the commandline, massaging it as necessary. if not cmd.validate(config, repo, parsed_cmdline) then - gitano.log.fatal("Validation of commandline failed") + gitano.log.fatal("Validation of command line failed") end -- Construct our context ready for prep @@ -120,7 +120,7 @@ if action == "allow" then gitano.log.info(reason or "Ruleset permitted action") else gitano.log.critical(reason) - gitano.log.fatal("Ruleset denied action. Sorry") + gitano.log.fatal("Ruleset denied action. Sorry.") end gitano.log.chat("Welcome to " .. config.global.site_name) diff --git a/lib/gitano/command.lua b/lib/gitano/command.lua index a14b609..0d91f18 100644 --- a/lib/gitano/command.lua +++ b/lib/gitano/command.lua @@ -429,7 +429,7 @@ local function builtin_destroy_validate(config, repo, cmdline) end local function builtin_destroy_prep(config, repo, cmdline, context) - context.operation = "destroy" + context.operation = "destroyrepo" return repo:run_lace(context) end @@ -507,7 +507,7 @@ local function builtin_rename_prep(config, repo, cmdline, context) end -- Check 2, rename current repo ctx = util.deep_copy(context) - ctx.operation = "rename" + ctx.operation = "renamerepo" action, reason = repo:run_lace(ctx) if action ~= "allow" then return action, reason |