Permalink
Browse files

Add a tab between ID and description in slice list

Fixes #25
  • Loading branch information...
1 parent f239f70 commit 786541da61e9311617fa066c6ae0baebec1cb314 @amotoki amotoki committed Jan 31, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 sliceable_switch/Slice.pm
View
4 sliceable_switch/Slice.pm
@@ -179,9 +179,9 @@ sub list_slices(){
return 0;
}
- my $out = sprintf("%32s%32s\n", "ID", "Description");
+ my $out = sprintf("%32s\t%32s\n", "ID", "Description");
foreach my $slice (@slices){
- $out .= sprintf("%32s%32s\n", ${$slice}{'id'}, ${$slice}{'description'});
+ $out .= sprintf("%32s\t%32s\n", ${$slice}{'id'}, ${$slice}{'description'});
}
info($out);

0 comments on commit 786541d

Please sign in to comment.