From 4f38f2607bb78c9dbb5f2d8174ed8f615e019be3 Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 12 Mar 2019 22:51:34 +0100 Subject: add command context when bad command --- gitcmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitcmd b/gitcmd index c751b9a..32d3670 100755 --- a/gitcmd +++ b/gitcmd @@ -48,4 +48,4 @@ elif command == 'git-receive-pack' and repository in repositories_rw: elif command == 'ls': lsexit_repositories(repositories_ro, []) else: - fail('Bad git command or inexistant repository or access denied') + fail(f'Bad command {command} or access denied') -- cgit v1.2.3