Minor fixes
This commit is contained in:
parent
685e02055c
commit
3996c1996c
|
@ -69,7 +69,7 @@ $ myvc init
|
|||
Incorporates database routine changes into workspace.
|
||||
|
||||
```text
|
||||
$ myvc pull [remote] [-f|--force] [-c|--checkout]
|
||||
$ myvc pull [remote] [-f|--force] [-c|--checkout] [-u|--update]
|
||||
```
|
||||
|
||||
When *checkout* option is provided, it does the following before export:
|
||||
|
|
6
myvc.js
6
myvc.js
|
@ -47,6 +47,9 @@ class MyVC {
|
|||
};
|
||||
const opts = this.getopts(baseOpts);
|
||||
|
||||
if (opts.version)
|
||||
process.exit(0);
|
||||
|
||||
try {
|
||||
const commandName = opts._[0];
|
||||
if (!command && commandName) {
|
||||
|
@ -79,9 +82,6 @@ class MyVC {
|
|||
if (opts._.length >= 2 && operandToOpt)
|
||||
opts[operandToOpt] = opts._[1];
|
||||
|
||||
if (opts.version)
|
||||
process.exit(0);
|
||||
|
||||
if (opts.help) {
|
||||
this.showHelp(command.localOpts, command.usage, commandName);
|
||||
process.exit(0);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "myvc",
|
||||
"version": "1.2.6",
|
||||
"version": "1.2.7",
|
||||
"author": "Verdnatura Levante SL",
|
||||
"description": "MySQL Version Control",
|
||||
"license": "GPL-3.0",
|
||||
|
|
Loading…
Reference in New Issue