main.c
changeset 160 8b40ee19e765
parent 159 76293ced27b5
child 166 8c19a66b5407
equal deleted inserted replaced
159:76293ced27b5 160:8b40ee19e765
   291     }
   291     }
   292 }
   292 }
   293 
   293 
   294 static void print_help(const char *cmd)
   294 static void print_help(const char *cmd)
   295 {
   295 {
   296     printf("usage: %s [action] [-ngfm] [cmd...]\n", cmd);
   296     printf("usage: %s [action] [-ngfmd] [-L <lab>] [cmd...]\n", cmd);
   297     printf("Env vars:\n");
   297     printf("Env vars:\n");
   298     printf("  TS_SOCKET  the path to the unix socket used by the ts command\n");
   298     printf("  TS_SOCKET  the path to the unix socket used by the ts command\n");
   299     printf("  TS_MAILTO  where to mail the result (on -m). Local user by default\n");
   299     printf("  TS_MAILTO  where to mail the result (on -m). Local user by default\n");
   300     printf("  TS_MAXFINISHED  maximum finished jobs in the queue\n");
   300     printf("  TS_MAXFINISHED  maximum finished jobs in the queue\n");
   301     printf("  TS_ONFINISH  binary called on job end (passing jobid, error, outfile, command)\n");
   301     printf("  TS_ONFINISH  binary called on job end (passing jobid, error, outfile, command)\n");