From 646e1a3764f57b36ca4c3c9ec0b1acf94fdb0860 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 18 Jul 2018 22:17:32 -0600 Subject: [PATCH] Show list of authorized fstypes with error --- .bin/Scripts/functions/ddrescue.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bin/Scripts/functions/ddrescue.py b/.bin/Scripts/functions/ddrescue.py index 0e24d7b8..887ab0d1 100644 --- a/.bin/Scripts/functions/ddrescue.py +++ b/.bin/Scripts/functions/ddrescue.py @@ -123,6 +123,9 @@ def dest_safety_check(source, dest): print_error( 'Destination filesystem "{}" is not a recommended type.'.format( dest['Filesystem'])) + print_info('Authorized types are: {}'.format( + ' / '.join(AUTHORIZED_DEST_FSTYPES).upper())) + print_standard(' ') if not ask('Proceed anyways? (Strongly discouraged)'): abort_ddrescue_tui() # Read-Write access