summaryrefslogtreecommitdiff
path: root/bin/raps2
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-19 09:55:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-19 09:55:35 +0100
commitd169f65bee90cc8ff01babd00409460ae8b56403 (patch)
tree4b36b63a8f75a91cbe7e71ced144c581a01d0897 /bin/raps2
parentcd0f94a5f22c0ac26f5ac458812cfd49e828d7ad (diff)
Fancier formatting for dump/info
Diffstat (limited to 'bin/raps2')
-rwxr-xr-xbin/raps210
1 files 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;
}