svn commit: r204849 - head/usr.bin/ncal
Alexander Best
alexbestms at wwu.de
Sun Mar 7 23:16:14 UTC 2010
could you have another look at the -J option? it seems highlighting still
isn't enabled in combination with it. also i'm wondering what the purpose of
the -b switch is. running `cal` and `ncal -b` seems to be doing the very same
thing (setting flag_backward = 1).
you might want to consider the following patch.
cheers.
alex
-------------- next part --------------
Index: ncal.1
===================================================================
--- ncal.1 (revision 204850)
+++ ncal.1 (working copy)
@@ -117,8 +117,6 @@
Print the number of the week below each week column.
.It Fl y
Display a calendar for the specified year.
-.It Fl b
-Switch to backwards compatibility mode (for debugging).
.It Fl d Ar yyyy-mm-dd
Use
.Ar yyyy-mm-dd
Index: ncal.c
===================================================================
--- ncal.c (revision 204850)
+++ ncal.c (working copy)
@@ -271,9 +271,6 @@
nswitch = ndaysj(&never);
flag_julian_cal = 1;
break;
- case 'b':
- flag_backward = 1;
- break;
case 'd':
flag_highlightdate = optarg;
break;
@@ -412,8 +409,7 @@
"usage: cal [-hjy] [[month] year]\n"
" cal [-hj] [-m month] [year]\n"
" ncal [-hJjpwy] [-s country_code] [[month] year]\n"
- " ncal [-hJeo] [year]\n"
- "for debug the highlighting: [-b] [-d yyyy-mm-dd]\n",
+ " ncal [-hJeo] [year]\n",
stderr);
exit(EX_USAGE);
}
More information about the svn-src-head
mailing list