[+] Add --ask-exit option
This commit is contained in:
parent
45f224d9dd
commit
6911087eab
1 changed files with 4 additions and 0 deletions
|
@ -336,6 +336,7 @@ def run():
|
||||||
parser.add_argument('--debug', action='store_true', help=f'Debug mode')
|
parser.add_argument('--debug', action='store_true', help=f'Debug mode')
|
||||||
parser.add_argument('--test-distro', help=f'Test for a specific distro')
|
parser.add_argument('--test-distro', help=f'Test for a specific distro')
|
||||||
parser.add_argument('--test-print', action='store_true', help=f'Test print distro ascii art only')
|
parser.add_argument('--test-print', action='store_true', help=f'Test print distro ascii art only')
|
||||||
|
parser.add_argument('--ask-exit', action='store_true', help=f'Ask before exitting')
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
@ -385,3 +386,6 @@ def run():
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
run_neofetch(preset, config.color_align)
|
run_neofetch(preset, config.color_align)
|
||||||
|
|
||||||
|
if args.ask_exit:
|
||||||
|
input('Press any key to exit...')
|
||||||
|
|
Loading…
Reference in a new issue