Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit e5d55f7

Browse files
committed
Added help command.
1 parent f990941 commit e5d55f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/commands/database

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,11 @@ function database_import() {
156156

157157
fi
158158

159-
if [ ! $(has_arg --no-backup) ]; then
160159
database_backup "${basefile}.bak"
160+
161161
if [ $? -ne 0 ]; then
162162
output "Error when backing up to ${basefile}.bak"
163163
return 4
164-
fi
165164
fi
166165

167166
output "Dropping any prior tables"

commands/help

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ box ${GREEN}test${RESET} - Update this CLI tool to the latest ver
1919
2020
box [${GREEN}help${RESET}] - Display the above information.
2121
EOF
22+

0 commit comments

Comments
 (0)