[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake/master] proxy/make.js: add help output
commit 37aaaffa1521b4ff6166a2a013d8e6e5c6e8fbce
Author: Jascha <jascha@xxxxxxx>
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);
+ })
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits