Add -@ commandline option. Yuck.

This commit is contained in:
Dianne Skoll
2020-01-24 16:26:55 -05:00
parent a9430fea5f
commit a5e6eb9f7c
+6
View File
@@ -38,6 +38,7 @@
* simple calendar format.
* -r = Disallow RUN mode
* -c[n] = Produce a calendar for n months (default = 1)
* -@ = Use VT100 color codes
* -w[n,n,n] = Specify output device width, padding and spacing
* -s[n] = Produce calendar in "simple calendar" format
* -p[n] = Produce calendar in format compatible with rem2ps
@@ -204,6 +205,10 @@ void InitRemind(int argc, char const *argv[])
while (*arg) {
switch(*arg++) {
case '@':
UseVTColors = 1;
break;
case 'j':
case 'J':
PurgeMode = 1;
@@ -622,6 +627,7 @@ void Usage(void)
fprintf(ErrFp, "Options:\n");
fprintf(ErrFp, " -n Output next occurrence of reminders in simple format\n");
fprintf(ErrFp, " -r Disable RUN directives\n");
fprintf(ErrFp, " -@ Use VT100 color codes for COLOR reminders\n");
fprintf(ErrFp, " -c[a][n] Produce a calendar for n (default 1) months\n");
fprintf(ErrFp, " -c[a]+[n] Produce a calendar for n (default 1) weeks\n");
fprintf(ErrFp, " -w[n[,p[,s]]] Specify width, padding and spacing of calendar\n");