need to accept a few more options
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 7 Jun 2011 22:37:05 +0000 (00:37 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 7 Jun 2011 22:37:05 +0000 (00:37 +0200)
spec2make.py

index 8a8966a..0e5a47d 100755 (executable)
@@ -13,6 +13,12 @@ def main ():
                       help='specify target arch')
     parser.add_option('-w','--whitelist-rpms',action='store',dest='whitelist',default='',
                       help='comma separated list of rpms to expose in makefile')
+    parser.add_option('-1','--with',action='store',dest='with',default='',
+                      help='accept but ignore --with option')
+    parser.add_option('-0','--without',action='store',dest='without',default='',
+                      help='accept but ignore --without option')
+    parser.add_option('-d','--define',action='store',dest='define',default='',
+                      help='accept but ignore --define option')
     (options,args) = parser.parse_args()
 
     try: