Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
pddg committed Jul 13, 2019
1 parent 8dddf40 commit f08fa78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/multiple_modules/commands/envs/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class GetCommand(Command):

def build_option(self, parser):
parser.add_argument('name', type=str, help='Env var name')
parser.add_argument('-u', '--upper', default=False, action='store_true',
parser.add_argument('-u', '--upper', default=False,
action='store_true',
help='Capitalize all chars of given name')
return parser

Expand Down
3 changes: 2 additions & 1 deletion examples/share_option/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def validate(self, args):

def build_option(self, parser):
parser.add_argument('path', type=Path, help="Path to show")
parser.add_argument('-a', '--absolute', default=False, action='store_true',
parser.add_argument('-a', '--absolute', default=False,
action='store_true',
help='Show absolute path')
return parser

Expand Down

0 comments on commit f08fa78

Please sign in to comment.