added new usages to the noinput arg

This commit is contained in:
Theis
2024-03-05 09:16:29 +01:00
parent fa5ef5838d
commit 8bcd3188e7
+1 -1
View File
@@ -168,7 +168,7 @@ func NoInput(args []string, users map[string]user) {
os.Exit(1)
}
// if calling binary with nothing or only string
print("Usage: cocommit <commit message> <co-author1> [co-author2] [co-author3] || \n cocommit <commit message> <co-author1:email> [co-author2:email] [co-author3:email] || Mixes of both")
print("Usage: cocommit <commit message> <co-author1> [co-author2] [co-author3] || \ncocommit <commit message> <co-author1:email> [co-author2:email] [co-author3:email] || \ncocommit <commit message> all || \ncocommit <commit message> ^<co-author1> ^[co-author2] || \ncocommit users || \nMixes of both")
os.Exit(1)
}