support long named parameters
This commit is contained in:
parent
f952690dd1
commit
3b497435ae
1 changed files with 4 additions and 0 deletions
|
@ -146,18 +146,22 @@
|
||||||
var value = pair[1];
|
var value = pair[1];
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case 'l':
|
case 'l':
|
||||||
|
case 'language':
|
||||||
this.options.language = value;
|
this.options.language = value;
|
||||||
this.options.force = true;
|
this.options.force = true;
|
||||||
break;
|
break;
|
||||||
case 't':
|
case 't':
|
||||||
|
case 'theme':
|
||||||
this.options.theme = value;
|
this.options.theme = value;
|
||||||
this.options.force = true;
|
this.options.force = true;
|
||||||
break;
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
|
case 'mode':
|
||||||
this.options.mode = value;
|
this.options.mode = value;
|
||||||
this.options.force = true;
|
this.options.force = true;
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
|
case 'status':
|
||||||
this.options.status = value;
|
this.options.status = value;
|
||||||
this.options.force = true;
|
this.options.force = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue