[DEV] change basic build clean extention module name -clean to ?clean

This commit is contained in:
Edouard DUPIN 2015-05-04 21:39:15 +02:00
parent 8a654def1b
commit 6d0894a134
3 changed files with 6 additions and 6 deletions

View File

@ -49,7 +49,7 @@ localArgument = myLutinArg.parse()
def usage():
# generic argument displayed :
myLutinArg.display()
print(" All target can finish with '-clean' '-dump' ...")
print(" All target can finish with '?clean' '?dump' ... ?action")
print(" all")
print(" build all (only for the current selected board) (bynary and packages)")
print(" clean")

View File

@ -369,7 +369,7 @@ class Target:
mod.clean(self)
else:
# get the action an the module ....
gettedElement = name.split("-")
gettedElement = name.split("?")
moduleName = gettedElement[0]
if len(gettedElement)>=2:
actionName = gettedElement[1]
@ -377,7 +377,7 @@ class Target:
actionName = "build"
debug.verbose("requested : " + moduleName + "-" + actionName)
if actionName == "install":
self.build(moduleName + "-build")
self.build(moduleName + "?build")
self.install_package(moduleName)
elif actionName == "uninstall":
self.un_install_package(moduleName)