mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
added user format valdation
This commit is contained in:
parent
bb44f4197b
commit
c9bf443c6a
10 changed files with 11 additions and 0 deletions
|
@ -75,6 +75,7 @@ csv_list() {
|
|||
#----------------------------------------------------------#
|
||||
|
||||
check_args '2' "$#" 'USER BACKUP [FORMAT]'
|
||||
is_format_valid 'user'
|
||||
is_object_valid 'user' 'USER' "$user"
|
||||
is_object_valid 'backup' 'BACKUP' "$backup"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue