mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
Showing task list on error
This commit is contained in:
@@ -78,11 +78,13 @@
|
||||
|
||||
missingOption = function(option) {
|
||||
console.error("No such option: \"" + option + "\"\n");
|
||||
printTasks();
|
||||
return process.exit(1);
|
||||
};
|
||||
|
||||
missingTask = function(task) {
|
||||
console.error("No such task: \"" + task + "\"\n");
|
||||
printTasks();
|
||||
return process.exit(1);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user