#define VERSIONSW 13
{ "version", 0 },
#define HELPSW 14
- { "help", 4 },
+ { "help", 0 },
{ NULL, 0 }
};
(size_t) (maxfolders * sizeof(*foldersToDo)))))
adios (NULL, "unable to reallocate folder name storage");
}
- if (*cp == '+')
- ++cp;
- foldersToDo[numfolders++] = cp;
+ if (*cp == '+' || *cp == '@') {
+ foldersToDo[numfolders++] =
+ path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF);
+ } else
+ foldersToDo[numfolders++] = cp;
}
}
ScanFolders();
qsort(folders, nFolders, sizeof(struct Folder), (qsort_comp) CompareFolders);
PrintFolders();
- done (0);
+ return done (0);
}
/*
char atrcur[BUFSIZ];
register struct node *np;
- /* sanity check - check that context has been read */
- if (defpath == NULL)
- adios (NULL, "oops, context hasn't been read yet");
-
snprintf (atrcur, sizeof(atrcur), "atr-%s-", current);
atrlen = strlen (atrcur);