Skip to content

Commit

Permalink
Merge pull request #1080 from danigm/diff-v
Browse files Browse the repository at this point in the history
rpmdiff: handle script argument with argparse
  • Loading branch information
danigm authored Jun 29, 2023
2 parents 168d30f + c8ef2e0 commit ef8f6f8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rpmlint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ def process_diff_args(argv):
When relative, files matching the pattern anywhere
are excluded but not directory contents.""")

# print help if there is no argument or less than the 2 mandatory ones
if len(argv) < 2:
parser.print_help()
sys.exit(0)

options = parser.parse_args(args=argv)

# convert options to dict
Expand Down

0 comments on commit ef8f6f8

Please sign in to comment.