confirmation before to erase a session
ID31 : bliss -d sixc
-> lost everything....
hummm how did they do that ????
- option is
-D
not-d
- there is a confirmation message:
# Delete session
if arguments["--delete"]:
session_name = arguments["--delete"]
if session_name in get_sessions_list():
if yes_or_no("Do you want to delete '%s' session?" % session_name):
delete_session(session_name)
sys.exit(0)
else:
print(
(
"Session '%s' cannot be deleted: it seems it does not exist."
% session_name
)
)
sys.exit(0)
Edited by Cyril Guilloud