]> err.no Git - yubikey-personalization/commitdiff
show what ndef will be written to key
authorKlas Lindfors <klas@yubico.com>
Fri, 9 Nov 2012 14:09:10 +0000 (15:09 +0100)
committerKlas Lindfors <klas@yubico.com>
Fri, 9 Nov 2012 14:09:10 +0000 (15:09 +0100)
ykpersonalize.c

index 8d9ed42ed87c29f6166cde5e7e45552292c2431a..ea8a748728476ffc57f7cc46917e5bb718befe95 100644 (file)
@@ -203,7 +203,7 @@ int main(int argc, char **argv)
                if (ykp_command(cfg) == SLOT_SWAP) {
                        fprintf(stderr, "Configuration in slot 1 and 2 will be swapped\n");
                } else if(ykp_command(cfg) == SLOT_NDEF || ykp_command(cfg) == SLOT_NDEF2) {
-                       fprintf(stderr, "New NDEF URI will be written\n");
+                       fprintf(stderr, "New NDEF will be written as:\n%s\n", ndef_string);
                } else if(zap) {
                        fprintf(stderr, "Configuration in slot %d will be deleted\n", ykp_config_num(cfg));
                } else {