Rename mws-load|save to mws-load|save-archive

This commit is contained in:
Jeremy Ruston 2024-02-23 12:51:07 +00:00
parent 3276703edd
commit 61b54125be
2 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
/*\
title: $:/plugins/tiddlywiki/multiwikiserver/mws-load.js
title: $:/plugins/tiddlywiki/multiwikiserver/mws-load-archive.js
type: application/javascript
module-type: command
Command to load tiddlers from a directory
Command to load archive of recipes, bags and tiddlers from a directory
\*/
(function(){
@ -13,7 +13,7 @@ Command to load tiddlers from a directory
"use strict";
exports.info = {
name: "mws-load",
name: "mws-load-archive",
synchronous: true
};
@ -27,7 +27,7 @@ Command.prototype.execute = function() {
var self = this;
// Check parameters
if(this.params.length < 1) {
return "Missing filename";
return "Missing pathname";
}
var archivePath = this.params[0];
loadBackupArchive(archivePath);

View File

@ -1,9 +1,9 @@
/*\
title: $:/plugins/tiddlywiki/multiwikiserver/mws-save.js
title: $:/plugins/tiddlywiki/multiwikiserver/mws-save-archive.js
type: application/javascript
module-type: command
Command to save tiddlers to a directory
Command to load an archive of recipes, bags and tiddlers to a directory
\*/
(function(){
@ -27,7 +27,7 @@ Command.prototype.execute = function() {
var self = this;
// Check parameters
if(this.params.length < 1) {
return "Missing directory path";
return "Missing pathname";
}
var archivePath = this.params[0];
saveArchive(archivePath);