From 4472faba00d6509a31aef7a8496ecbc25123e95f Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 1 Nov 2012 14:41:30 -0700 Subject: [PATCH] calendar: better warnings. --- basis/calendar/calendar-docs.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/calendar/calendar-docs.factor b/basis/calendar/calendar-docs.factor index a2549d4438..a7e08b74fd 100644 --- a/basis/calendar/calendar-docs.factor +++ b/basis/calendar/calendar-docs.factor @@ -29,7 +29,7 @@ HELP: HELP: month-names { $values { "value" object } } { $description "Returns an array with the English names of all the months." } -{ $warning "Do not use this array for looking up a month name directly. Use month-name instead." } ; +{ $warning "Do not use this array for looking up a month name directly. Use " { $link month-name } " instead." } ; HELP: month-name { $values { "obj" { $or integer timestamp } } { "string" string } } @@ -38,7 +38,7 @@ HELP: month-name HELP: month-abbreviations { $values { "value" array } } { $description "Returns an array with the English abbreviated names of all the months." } -{ $warning "Do not use this array for looking up a month name directly. Use month-abbreviation instead." } ; +{ $warning "Do not use this array for looking up a month name directly. Use " { $link month-abbreviation } " instead." } ; HELP: month-abbreviation { $values { "n" integer } { "string" string } }