parent
3ddea20853
commit
d63e4d1162
1 changed files with 6 additions and 0 deletions
6
yadm
6
yadm
|
@ -1401,6 +1401,12 @@ function process_global_args() {
|
|||
while [[ $# -gt 0 ]] ; do
|
||||
key="$1"
|
||||
case $key in
|
||||
-V|--version)
|
||||
version
|
||||
;;
|
||||
-h|--help)
|
||||
help
|
||||
;;
|
||||
-Y|--yadm-dir) # override the standard YADM_DIR
|
||||
if [[ ! "$2" =~ ^/ ]] ; then
|
||||
error_out "You must specify a fully qualified yadm directory"
|
||||
|
|
Loading…
Add table
Reference in a new issue