Extend api_feature_loader options.
[Issue#] SSDWSSP-606
[Feature] Provides possibility to use globs like '*' or '?' in file names
(i.e. with '-f' option).
This feature is based on glob() function, please have a look at
documentation (man 3 glob) for more details.
For example, having following directory structure:
testfiles /
EFL_1.smack
EFL_2.smack
EFL_3.smack
EFL_5.smak // it's not a typo
GFL_6.smack // it's not a typo
would be possible to issue (quotes are not mandatory):
api_feature_loader --verbose -f"testfiles/*"
in order to load rules from the following files:
EFL_1.smack, EFL_2.smack and EFL_3.smack.
Please note, that EFL_5.smak matches pattern, but the extension
is wrong so it will not be loaded.
[Cause] N/A
[Solution] N/A
[Verification] Build, run od the target, see if /opt/dbspace/.rules-db.db3
is updated.
Change-Id: I6713f33b8e44cdb87659286bce513e68e4f5d98c