Open
Description
Currently the following command is rejected with a syntax error:
!gitlab webhook add SOME_ALIAS REPOSITORY/PATH/
The error message is the following:
Usage: !webhook add [server URL or alias] [repository]
The error message is confusing, since it seems to allow to specify a server alias (or URL) followed by the repository.
But in fact it seems to allow only one of these two optional arguments.
Thus the following should be more appropriate:
Usage: !webhook add [server URL or alias | repository]
Of course it would be even better to allow both a URL and a repository. Maybe keyword-based assignments (e.g. server=foo repo=something/
) could make this possible.
Metadata
Metadata
Assignees
Labels
No labels