mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
parent
f83443feac
commit
c277370e48
@ -223,8 +223,12 @@ exports.startup = function() {
|
||||
});
|
||||
} else {
|
||||
// On the server, start a commander with the command line arguments
|
||||
var args = $tw.boot.argv;
|
||||
if(args.length === 0) {
|
||||
args = ["--help"];
|
||||
}
|
||||
commander = new $tw.Commander(
|
||||
$tw.boot.argv,
|
||||
args,
|
||||
function(err) {
|
||||
if(err) {
|
||||
console.log("Error: " + err);
|
||||
|
Loading…
Reference in New Issue
Block a user