diff --git a/docs/managing-remotes.rst b/docs/managing-remotes.rst index 10ca1084..50c800b9 100644 --- a/docs/managing-remotes.rst +++ b/docs/managing-remotes.rst @@ -116,7 +116,7 @@ of the specified criteria are synced. The available criteria are: The same filter is applied to local groups, for handling of the ``remove-vanished`` option. -A ``group-filter`` can be inverted by adding ``exclude:`` to its beginning. +A ``group-filter`` can be inverted by prepending ``exclude:`` to it. * Regular expression example, excluding the match: .. code-block:: console diff --git a/pbs-api-types/src/jobs.rs b/pbs-api-types/src/jobs.rs index 798dea0f..80578d80 100644 --- a/pbs-api-types/src/jobs.rs +++ b/pbs-api-types/src/jobs.rs @@ -482,7 +482,7 @@ fn verify_group_filter(input: &str) -> Result<(), anyhow::Error> { } pub const GROUP_FILTER_SCHEMA: Schema = StringSchema::new( - "Group filter based on group identifier ('group:GROUP'), group type ('type:'), or regex ('regex:RE'). Can be inverted by adding 'exclude:' before.") + "Group filter based on group identifier ('group:GROUP'), group type ('type:'), or regex ('regex:RE'). Can be inverted by prepending 'exclude:'.") .format(&ApiStringFormat::VerifyFn(verify_group_filter)) .type_text("[]|group:GROUP|regex:RE>") .schema();