From d169f65bee90cc8ff01babd00409460ae8b56403 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 19 Feb 2011 09:55:35 +0100 Subject: Fancier formatting for dump/info --- bin/raps2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/raps2 b/bin/raps2 index 42383b9..8e65546 100755 --- a/bin/raps2 +++ b/bin/raps2 @@ -81,7 +81,7 @@ sub cmd_dump { $cipher = setup_cipher($password); printf( - "%-12s %s\n" x 4, + "%-8s : %s\n" x 4, 'URL' , $state{'url'}, 'Login' , $state{'login'}, 'Extra' , $state{'extra'} // q{}, @@ -122,11 +122,11 @@ sub cmd_info { load_state_from($store); printf( - "URL : %s\nLogin: %s\n", - $state{'url'}, - $state{'login'} + "%-8s : %s\n" x 3, + 'URL' , $state{'url'}, + 'Login', $state{'login'}, + 'Extra', $state{'extra'}, ); - return; } -- cgit v1.2.3