[tor-commits] [snowflake/master] proxy/make.js: add help output
dcf at torproject.org
dcf at torproject.org
Fri Dec 13 23:20:47 UTC 2019
commit 37aaaffa1521b4ff6166a2a013d8e6e5c6e8fbce
Author: Jascha <jascha at jaeh.at>
Date: Fri Dec 13 04:47:50 2019 +0100
proxy/make.js: add help output
---
proxy/make.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/proxy/make.js b/proxy/make.js
index f8b2192..6111913 100755
--- a/proxy/make.js
+++ b/proxy/make.js
@@ -192,4 +192,10 @@ if (tasks.has(cmd)) {
t.func();
} else {
console.error('Command not supported.');
+
+ console.log('Commands:');
+
+ tasks.forEach(function(value, key) {
+ console.log(key + ' - ' + value.msg);
+ })
}
More information about the tor-commits
mailing list