reset default profile via --reset
This commit is contained in:
parent
6cafd14883
commit
5bdbb28e31
1 changed files with 7 additions and 0 deletions
|
@ -475,6 +475,10 @@ def configure():
|
|||
pass
|
||||
|
||||
|
||||
def reset():
|
||||
Settings.reset_auto_profile()
|
||||
|
||||
|
||||
def main():
|
||||
if len(sys.argv) == 1:
|
||||
toxygen = Toxygen()
|
||||
|
@ -492,6 +496,9 @@ def main():
|
|||
elif arg == '--clean':
|
||||
clean()
|
||||
return
|
||||
elif arg == '--reset':
|
||||
reset()
|
||||
return
|
||||
else:
|
||||
toxygen = Toxygen(arg)
|
||||
toxygen.main()
|
||||
|
|
Loading…
Reference in a new issue