diff --git a/Scripts/Functions/cli_getFilesList.sh b/Scripts/Functions/cli_getFilesList.sh index 36eb704..dcf13cb 100755 --- a/Scripts/Functions/cli_getFilesList.sh +++ b/Scripts/Functions/cli_getFilesList.sh @@ -29,7 +29,7 @@ function cli_getFilesList { local ARGSS='' # Define long options. - local ARGSL='pattern:,maxdepth:,type:' + local ARGSL='pattern:,maxdepth:,type:,uid:' # Initialize arguments with an empty value and set it as local # variable to this function scope. @@ -68,6 +68,11 @@ function cli_getFilesList { shift 2 ;; + --uid ) + OPTIONS="$OPTIONS -uid $2" + shift 2 + ;; + -- ) shift 1 break