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
|
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()
|
||||||
|
|
Loading…
Reference in a new issue