Skip to content

Commit c22ac35

Browse files
mpestephenfin
authored andcommitted
Fix help text for --format to refer to pw.format
The help text for --format says that it's controlled by pw.server, but that's wrong, it's controlled by pw.format. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent ed39855 commit c22ac35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_pw/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _format_options(f):
174174
f = click.option('--format', '-f', 'fmt', default=None,
175175
type=click.Choice(['simple', 'table', 'csv']),
176176
help="Output format. Defaults to the value of "
177-
"'git config pw.server' else 'table'.")(f)
177+
"'git config pw.format' else 'table'.")(f)
178178

179179
if headers:
180180
f = click.option('--column', '-c', 'headers', metavar='COLUMN',

0 commit comments

Comments
 (0)