diff options
author | cos <cos> | 2011-08-10 10:47:23 +0200 |
---|---|---|
committer | cos <cos> | 2011-08-10 10:47:50 +0200 |
commit | f2f4a79bbed64372811e60d3f90714b6d26855ab (patch) | |
tree | d68780d54dec28e5e5633e830916e937f11ad0d4 | |
parent | a1c8f5df883936f64b0ed213ac536f734481b14f (diff) | |
download | mat-f2f4a79bbed64372811e60d3f90714b6d26855ab.zip |
Output recipe id in plan for now.
This might be changed later, when having a better way of specifying meals. Or
it might stay, to provide fuller control.
-rwxr-xr-x | mat | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |