Fixed argument parsing

pull/41/head
Laurent Cozic 2017-08-21 19:56:40 +02:00
parent 36743bb4d7
commit 97c73b22d1
6 changed files with 7 additions and 6 deletions

View File

@ -102,6 +102,7 @@ cliUtils.makeCommandArgs = function(cmd, argv) {
let args = yargParser(argv, {
boolean: booleanFlags,
alias: aliases,
string: ['_'],
});
for (let i = 1; i < cmdUsage['_'].length; i++) {

View File

@ -89,7 +89,7 @@ class Command extends BaseCommand {
row.push(await Folder.noteCount(item.id));
}
row.push(time.unixMsToLocalDateTime(item.updated_time));
row.push(time.unixMsToLocalDateTime(item.user_updated_time));
}
let title = item.title;

View File

@ -7,7 +7,7 @@
"url": "https://github.com/laurent22/joplin"
},
"url": "git://github.com/laurent22/joplin.git",
"version": "0.9.8",
"version": "0.9.10",
"bin": {
"joplin": "./main.js"
},

View File

@ -1 +1 @@
28897a284082f5be431a27ee5b1a26cb
6aa2be3698aa3b5cf8e0875bf37c7851

View File

@ -90,8 +90,8 @@ android {
applicationId "net.cozic.joplin"
minSdkVersion 16
targetSdkVersion 22
versionCode 44
versionName "0.9.31"
versionCode 45
versionName "0.9.32"
ndk {
abiFilters "armeabi-v7a", "x86"
}

View File

@ -106,7 +106,7 @@ class BaseModel {
}
static shortId(id) {
return id.substr(0, 4);
return id.substr(0, 5);
}
static loadByPartialId(partialId) {