1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

remove old trigger command

it has been deprecated for a while now
This commit is contained in:
Oliver Giles 2020-12-05 13:55:07 +13:00
parent ec237f475e
commit 1a5292f141

View File

@ -152,9 +152,7 @@ int main(int argc, char** argv) {
})); }));
jobNameIndex += n + 1; jobNameIndex += n + 1;
} while(jobNameIndex < argc); } while(jobNameIndex < argc);
} else if(strcmp(argv[1], "start") == 0 || strcmp(argv[1], "trigger") == 0) { } else if(strcmp(argv[1], "start") == 0) {
if(strcmp(argv[1], "trigger") == 0)
fprintf(stderr, "Warning: 'trigger' is deprecated, use 'queue' for the old behavior\n");
if(argc < 3) { if(argc < 3) {
fprintf(stderr, "Usage %s queue <jobName>\n", argv[0]); fprintf(stderr, "Usage %s queue <jobName>\n", argv[0]);
return EXIT_BAD_ARGUMENT; return EXIT_BAD_ARGUMENT;