Skip to content

Commit 7f24c54

Browse files
committed
pytool: Fix parser_opts example in docs.
1 parent c7d2a92 commit 7f24c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytool/cmd.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ class MyCommand(Command):
142142
def parser_opts(self):
143143
return dict(
144144
description="Manual description for cmd.",
145-
auto_env_var_help=True,
146-
auto_env_var_prefix=True,
145+
add_env_var_help=True,
146+
auto_env_var_prefix='mycmd_',
147147
)
148148
"""
149149
return dict()

0 commit comments

Comments
 (0)