summaryrefslogtreecommitdiff
path: root/mat
diff options
context:
space:
mode:
Diffstat (limited to 'mat')
-rwxr-xr-xmat4
1 files changed, 2 insertions, 2 deletions
diff --git a/mat b/mat
index 7a8aa79..63c6a73 100755
--- a/mat
+++ b/mat
@@ -171,8 +171,8 @@ sub cmd_showplan {
"' and mealtype='$mealtype';";
my @ids = $db->selectrow_array($sql);
if ($ids[0]) {
- print $dt->ymd(), " ", get_recipe_name($ids[0]), ", ",
- get_recipe_uri($ids[0]), "\n";
+ printf "%9s %3s %s, %s\n", $dt->ymd(), $ids[0], get_recipe_name($ids[0]),
+ get_recipe_uri($ids[0]);
}
$dt->add(days => 1);
}