version bump

This commit is contained in:
cupcakearmy 2019-12-04 20:53:06 +01:00
parent 1c9f6d7d91
commit a8f4c23254
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export const { _: commands, ...flags } = minimist(process.argv.slice(2), {
string: ['l', 'b'],
})
export const VERSION = '0.6'
export const VERSION = '0.7'
export const INSTALL_DIR = '/usr/local/bin'
export const VERBOSE = flags.verbose

View File

@ -85,7 +85,7 @@ const handlers: Handlers = {
if (!config) throw ConfigError
checkIfResticIsAvailable()
if(!flags.to) {
if (!flags.to) {
console.log(`You need to specify the restore path with --to`.red)
return
}
@ -259,6 +259,7 @@ export const help = () => {
'\n',
)
}
export const error = () => {
help()
console.log(