diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-02-19 09:55:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-02-19 09:55:35 +0100 |
commit | d169f65bee90cc8ff01babd00409460ae8b56403 (patch) | |
tree | 4b36b63a8f75a91cbe7e71ced144c581a01d0897 /bin/raps2 | |
parent | cd0f94a5f22c0ac26f5ac458812cfd49e828d7ad (diff) |
Fancier formatting for dump/info
Diffstat (limited to 'bin/raps2')
-rwxr-xr-x | bin/raps2 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |