diff --git a/tools/py2rpm b/tools/py2rpm index 02bba739..f85e30c2 100755 --- a/tools/py2rpm +++ b/tools/py2rpm @@ -180,6 +180,11 @@ def create_parser(): action="store_true", default=False, help="Only generate source RPM") + parser.add_argument( + "--binary-only", "-b", + action="store_true", + default=False, + help="Only generate binary RPM") parser.add_argument( "--rpm-base", metavar="