Skip to content

Commit 0817b49

Browse files
committed
Make some small changes
1 parent 4d9c5ce commit 0817b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-dump-database

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
user=$1
1818
database=$2
1919
output=$3
20-
compression=${4-none}
20+
compression=$4
2121

2222
# Includes
2323
# shellcheck source=/etc/hestiacp/hestia.conf
@@ -29,7 +29,7 @@ source $HESTIA/func/db.sh
2929
# load config file
3030
source_conf "$HESTIA/conf/hestia.conf"
3131

32-
check_args '2' "$#" 'USER DATABASE'
32+
check_args '2' "$#" 'USER DATABASE [OUTPUT] [COMPRESSION]'
3333
is_format_valid 'user' 'database'
3434
is_system_enabled "$DB_SYSTEM" 'DB_SYSTEM'
3535
is_object_valid 'user' 'USER' "$user"

0 commit comments

Comments
 (0)