Skip to content

Commit 05c5e41

Browse files
committed
docs(cli): improve cli help grammar
1 parent 49d5f7c commit 05c5e41

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pact/cli/verify.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
'username', '--pact-broker-username',
3939
envvar='PACT_BROKER_USERNAME',
4040
help='Username for Pact Broker basic authentication. Can also be specified'
41-
' via the environment variable PACT_BROKER_USERNAME')
41+
' via the environment variable PACT_BROKER_USERNAME.')
4242
@click.option(
4343
'broker_base_url', '--pact-broker-url',
4444
default='',
4545
envvar='PACT_BROKER_BASE_URL',
4646
help='Base URl for the Pact Broker instance to publish pacts to. Can also be specified'
47-
' via the environment variable PACT_BROKER_BASE_URL')
47+
' via the environment variable PACT_BROKER_BASE_URL.')
4848
@click.option(
4949
'consumer_version_tag', '--consumer-version-tag',
5050
default='',
@@ -67,16 +67,16 @@
6767
'password', '--pact-broker-password',
6868
envvar='PACT_BROKER_PASSWORD',
6969
help='Password for Pact Broker basic authentication. Can also be specified'
70-
' via the environment variable PACT_BROKER_PASSWORD')
70+
' via the environment variable PACT_BROKER_PASSWORD.')
7171
@click.option(
7272
'token', '--pact-broker-token',
7373
envvar='PACT_BROKER_TOKEN',
7474
help='Bearer token for Pact Broker authentication. Can also be specified'
75-
' via the environment variable PACT_BROKER_TOKEN')
75+
' via the environment variable PACT_BROKER_TOKEN.')
7676
@click.option(
7777
'provider', '--provider',
7878
default='',
79-
help='Retrieve the latest pacts for this provider')
79+
help='Retrieve the latest pacts for this provider.')
8080
@click.option(
8181
'headers', '--custom-provider-header',
8282
envvar='CUSTOM_PROVIDER_HEADER',
@@ -93,12 +93,12 @@
9393
type=int)
9494
@click.option(
9595
'provider_app_version', '-a', '--provider-app-version',
96-
help='The provider application version, '
97-
'required for publishing verification results')
96+
help='The provider application version. '
97+
'Required for publishing verification results.')
9898
@click.option(
9999
'publish_verification_results', '-r', '--publish-verification-results',
100100
default=False,
101-
help='Publish verification results to the broker',
101+
help='Publish verification results to the broker.',
102102
is_flag=True)
103103
@click.option(
104104
'--verbose/--no-verbose',

0 commit comments

Comments
 (0)