Skip to content

Commit

Permalink
remove old trigger command
Browse files Browse the repository at this point in the history
it has been deprecated for a while now
  • Loading branch information
ohwgiles committed Dec 5, 2020
1 parent ec237f4 commit 1a5292f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ int main(int argc, char** argv) {
}));
jobNameIndex += n + 1;
} while(jobNameIndex < argc);
} else if(strcmp(argv[1], "start") == 0 || strcmp(argv[1], "trigger") == 0) {
if(strcmp(argv[1], "trigger") == 0)
fprintf(stderr, "Warning: 'trigger' is deprecated, use 'queue' for the old behavior\n");
} else if(strcmp(argv[1], "start") == 0) {
if(argc < 3) {
fprintf(stderr, "Usage %s queue <jobName>\n", argv[0]);
return EXIT_BAD_ARGUMENT;
Expand Down

0 comments on commit 1a5292f

Please sign in to comment.