diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-20 14:02:56 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-07 17:13:37 +0200 |
commit | 969dcddbdf9d5dbd91aa414cdd193f3fb26b644b (patch) | |
tree | 6d4cf6e2c2d8b2af12d86643a2cce04211b803c3 /doc | |
parent | 72ba4fb83ff99031f58169beeb1daa80ffd8cdb4 (diff) | |
download | pacman-969dcddbdf9d5dbd91aa414cdd193f3fb26b644b.tar.gz pacman-969dcddbdf9d5dbd91aa414cdd193f3fb26b644b.tar.xz |
parse_options: initialize unused_options as array
Since we treat this as an array, we need to initialize it as one. This
avoids addition of an empty element to the option string when we set the
option array from the calling program, e.g.
+/usr/bin/makepkg[2033]: set -- -i --pkg vim -- ''
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions