Adjust the CLI's argparsing
ClosedPublic

Authored by jskladan on Oct 15 2014, 12:50 PM.

Details

Summary

The nargs=+ for the -r option was greedy, and did not let any data
into the rpms. It had to be devided by the -- operator.

This patch modifies the behaviour, so you need to use multiple -r
options instead of one -r option with multiple values, as this makes
more sense.

There are also minor changes in the help strings.

Test Plan

./run_depcheck.py -r /tmp/depcheck_scenarios1pDScq/repo_current/ /tmp/depcheck_scenarios1pDScq/repo_updates/bar-0.1-1.fc19.noarch.rpm

Diff Detail

Repository
rDEPCK task-depcheck
Lint
Lint Skipped
Unit
Unit Tests Skipped
jskladan retitled this revision from to Adjust the CLI's argparsing.Oct 15 2014, 12:50 PM
jskladan updated this object.
jskladan edited the test plan for this revision. (Show Details)
jskladan added reviewers: tflink, kparal.
This revision is now accepted and ready to land.Oct 15 2014, 12:56 PM
jskladan closed this revision.Oct 16 2014, 7:16 AM
jskladan updated this revision to Diff 707.

Closed by commit rDEPCKcc7f69072bb0 (authored by @jskladan).