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'], string: ['l', 'b'],
}) })
export const VERSION = '0.6' export const VERSION = '0.7'
export const INSTALL_DIR = '/usr/local/bin' export const INSTALL_DIR = '/usr/local/bin'
export const VERBOSE = flags.verbose export const VERBOSE = flags.verbose

View File

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