support long named parameters

This commit is contained in:
Manuel Friedli 2014-12-07 23:45:33 +01:00
parent f952690dd1
commit 3b497435ae

View file

@ -146,18 +146,22 @@
var value = pair[1];
switch (key) {
case 'l':
case 'language':
this.options.language = value;
this.options.force = true;
break;
case 't':
case 'theme':
this.options.theme = value;
this.options.force = true;
break;
case 'm':
case 'mode':
this.options.mode = value;
this.options.force = true;
break;
case 's':
case 'status':
this.options.status = value;
this.options.force = true;
break;