feature(cloudcmd) rm deprecated features: --progress-of-copying, prefix -> config.prefix

This commit is contained in:
coderaiser 2015-11-15 05:40:47 -05:00
parent 1e3882506a
commit 49302a7f6f
2 changed files with 0 additions and 16 deletions

View file

@ -86,8 +86,6 @@
config('root', args.root);
config('htmlDialogs', args['html-dialogs']);
deprecate('progress-of-copying', 'progress');
readConfig(args.config);
options = {
@ -111,15 +109,6 @@
return createPass(config('algo'), password);
}
function deprecate(was, became) {
var value = args[was];
if (value) {
console.log('cloudcmd --' + was + ': deprecated, use --' + became);
config(became, value);
}
}
function version() {
console.log('v' + Info.version);
}

View file

@ -54,11 +54,6 @@
options = p.config || {},
keys = Object.keys(options);
if (typeof params.prefix !== 'undefined') {
console.log('cloudcmd: prefix property deprecated, use config.prefix instead');
options.prefix = params.prefix;
}
keys.forEach(function(name) {
var value = options[name];