diff --git a/ocat.c b/ocat.c index 2840b17..3056ae2 100644 --- a/ocat.c +++ b/ocat.c @@ -6,13 +6,6 @@ #include "json.h" #include "storage.h" -static char *tstampyyyymm(time_t t) { - static char buf[] = "YYYY-MM"; - - strftime(buf, sizeof(buf), "%Y-%m", gmtime(&t)); - return(buf); -} - void usage(char *prog) { printf("Usage: %s [options..] [file ...]\n", prog); @@ -20,7 +13,14 @@ void usage(char *prog) printf(" --list -l list users (or a user's (-u) devices\n"); printf(" --user username -u specify username\n"); printf(" --device devicename -d specify device name\n"); - printf(" --yyyymm YYYY-MM -D specify year-month (shell pat, eg: '2015-0[572]')\n"); + printf(" --from