add disable array find

This commit is contained in:
ville rantanen
2014-04-22 14:34:02 +03:00
parent 1ac9896403
commit 6694921d19

View File

@@ -28,10 +28,8 @@ def setup_options():
help="Input absolute path prefix. e.g. /home1/user1/project/")
parser.add_argument("-o",type=str,dest="outabs",action="append",default=["."],
help="Output absolute path prefix. e.g. /home2/user2/different_project/")
parser.add_argument("-q",action="store_true",dest="query",default=False,
help="Compare "+STATEFILE+" and "+DRYSTATEFILE+" to "+
"see which components are not up-to-date. Use the anduril command: "+
"anduril run --dry ... to create the dry state file" )
parser.add_argument("-a",action="store_false",dest="arrays",default=True,
help="Disable finding _index (array) files. Just modify _state and nothing else." )
return parser.parse_args()
def check_options(opts):
@@ -180,9 +178,7 @@ def main():
opts=setup_options()
opts=check_options(opts)
if opts.query:
statequery(opts.execpath)
else:
if opts.arrays:
traverse(opts,opts.execpath)
statefile(opts,opts.execpath)
return