`user@tin:/srv/mediawiki-staging$` `scap swat -h`
```
usage: scap swat [-h] [-p PICK [PICK ...]] [-b [BRANCH]]
[--changeid CHANGEID [CHANGEID ...]] [--search SEARCH]
[-c CONF_FILE] [--no-shared-authsock] [-D <name>:<value>]
[-v] [-e ENVIRONMENT]
scap swat: cherry pick and deploy patches for mediawiki swat.
optional arguments:
-h, --help show this help message and exit
-p PICK [PICK ...], --pick PICK [PICK ...]
cherry-pick patches to release branches
-b [BRANCH], --branch [BRANCH]
One or more branches to merge into. Default: active
wmf/branches.
--changeid CHANGEID [CHANGEID ...]
The ChangeId of a patch to merge.
--search SEARCH Search for patches using Gerrit query terms.
-c CONF_FILE, --conf CONF_FILE
Path to configuration file
--no-shared-authsock Ignore any shared ssh-auth configuration
-D <name>:<value>, --define <name>:<value>
Set a configuration value
-v, --verbose Verbose output
-e ENVIRONMENT, --environment ENVIRONMENT
environment in which to execute scap
Usage Examples:
----------------
Query changes from gerrit and display the results:
scap swat --search 'status:open'
Cherry-pick a patch to active deployment branches:
scap swat --pick 123456
Specify a specific branch target:
scap swat --pick 123456 --branch 1.28.0-wmf.1
Diplay detailed information about a change in gerrit:
scap swat --changeid 123456
```