Allow `-l` to pass thru to the `yadm config` command

This commit is contained in:
Tim Byrne 2019-11-03 14:21:59 -06:00
parent f5287f1588
commit 5a802c8afd
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 1 additions and 0 deletions

1
yadm
View File

@ -96,6 +96,7 @@ function main() {
;; ;;
-l) # used by decrypt() -l) # used by decrypt()
DO_LIST="YES" DO_LIST="YES"
[ "$YADM_COMMAND" = "config" ] && YADM_ARGS+=("$1")
;; ;;
-w) # used by init() and clone() -w) # used by init() and clone()
if [[ ! "$2" =~ ^/ ]] ; then if [[ ! "$2" =~ ^/ ]] ; then