reset default profile via --reset

This commit is contained in:
ingvar1995 2017-01-04 19:46:23 +03:00
parent 6cafd14883
commit 5bdbb28e31

View file

@ -475,6 +475,10 @@ def configure():
pass pass
def reset():
Settings.reset_auto_profile()
def main(): def main():
if len(sys.argv) == 1: if len(sys.argv) == 1:
toxygen = Toxygen() toxygen = Toxygen()
@ -492,6 +496,9 @@ def main():
elif arg == '--clean': elif arg == '--clean':
clean() clean()
return return
elif arg == '--reset':
reset()
return
else: else:
toxygen = Toxygen(arg) toxygen = Toxygen(arg)
toxygen.main() toxygen.main()