diff options
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r-- | usr.bin/calendar/calendar.1 | 8 | ||||
-rw-r--r-- | usr.bin/calendar/io.c | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1 index 306d2e1473b..777de34ec8e 100644 --- a/usr.bin/calendar/calendar.1 +++ b/usr.bin/calendar/calendar.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: calendar.1,v 1.43 2018/06/03 06:50:35 jmc Exp $ +.\" $OpenBSD: calendar.1,v 1.44 2019/01/29 22:28:30 tedu Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)calendar.1 8.1 (Berkeley) 6/29/93 .\" -.Dd $Mdocdate: June 3 2018 $ +.Dd $Mdocdate: January 29 2019 $ .Dt CALENDAR 1 .Os .Sh NAME @@ -119,7 +119,9 @@ They may be entered in almost any format, either numeric or as character strings. If proper locale is set, national months and weekdays names can be used. -A single asterisk (`*') matches every month. +A single asterisk +.Pq Sq * +matches every month. A day without a month matches that day of every week. A month without a day matches the first of that month. Two numbers default to the month followed by the day. diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index 7d4353e87f5..3a58850c41e 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.47 2017/09/25 19:13:56 krw Exp $ */ +/* $OpenBSD: io.c,v 1.48 2019/01/29 22:28:30 tedu Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -326,7 +326,7 @@ opencal(void) if (!(chdir(home) == 0 && chdir(calendarHome) == 0 && (fdin = open(calendarFile, O_RDONLY)) != -1)) - errx(1, "no calendar file: ``%s'' or ``~/%s/%s''", + errx(1, "no calendar file: \"%s\" or \"~/%s/%s\"", calendarFile, calendarHome, calendarFile); } } |