diff --git a/src/triagebot/labeling.md b/src/triagebot/labeling.md index c76d0635..acb4e4b0 100644 --- a/src/triagebot/labeling.md +++ b/src/triagebot/labeling.md @@ -23,6 +23,7 @@ Some examples of variants you can use: * `@rustbot modify labels to +T-lang and -T-compiler` * `@rustbot modify labels: +T-lang and -T-compiler` * `@rustbot modify labels to +T-lang -T-compiler` +* `@rustbot labels "+good first issue"` The command can be terminated with a `.`, `;`, or the end of the line. @@ -35,7 +36,7 @@ Formally the grammar is: >    | `labels` > > label-list →\ ->       *label-delta*\ +>       *label-delta*+\ >    | *label-delta* `and` *label-list*\ >    | *label-delta* `,` *label-list*\ >    | *label-delta* `,` `and` *label-list* @@ -43,7 +44,12 @@ Formally the grammar is: > label-delta →\ >       `+` *label*\ >    | `-` *label*\ ->    | *label* +>    | *label* \ +>    | `"` `+` *label-quoted* `"`\ +>    | `"` `-` *label-quoted* `"`\ +>    | `"` *label-quoted* `"` +> +> label-quoted → \[^"]* > > label → \[^.,:!?;\n() ]+ @@ -77,4 +83,4 @@ allow-unauthenticated = [ ## Implementation -See [`src/handlers/autolabel.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/autolabel.rs). +See [`src/handlers/relabel.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/relabel.rs).