Merge pull request #3798 from znz/fix-declare

Fix declare [ci skip]
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2019-12-08 22:10:21 -05:00
commit e1cbf08a95
1 file changed
+2 -2
+2 -2
View File
@@ -64,7 +64,7 @@ fn-plugin-property-list-get-by-value() {
} }
fn-plugin-property-list-length() { fn-plugin-property-list-length() {
declare desc="returns a property list" declare desc="returns the length of a property list"
declare PLUGIN="$1" APP="$2" KEY="$3" declare PLUGIN="$1" APP="$2" KEY="$3"
"$PLUGIN_CORE_AVAILABLE_PATH/common/prop" "llen" "$PLUGIN" "$APP" "$KEY" "$PLUGIN_CORE_AVAILABLE_PATH/common/prop" "llen" "$PLUGIN" "$APP" "$KEY"
} }
@@ -76,7 +76,7 @@ fn-plugin-property-list-remove() {
} }
fn-plugin-property-list-remove-by-prefix() { fn-plugin-property-list-remove-by-prefix() {
declare desc="removes a value from a property list" declare desc="removes a value by prefix from a property list"
declare PLUGIN="$1" APP="$2" KEY="$3" PREFIX="$4" declare PLUGIN="$1" APP="$2" KEY="$3" PREFIX="$4"
"$PLUGIN_CORE_AVAILABLE_PATH/common/prop" "lrem-by-prefix" "$PLUGIN" "$APP" "$KEY" "$PREFIX" "$PLUGIN_CORE_AVAILABLE_PATH/common/prop" "lrem-by-prefix" "$PLUGIN" "$APP" "$KEY" "$PREFIX"
} }