index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-10 | build-aux/update-copyright 2019 2020 | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2019-11-05 | libmakepkg: fix empty arguments in parseopts | Ethan Sommer | |
Previously parseopts checked if there was an argument by checking that the string was non-empty, resulting in empty arguments being incorrectly considered non-existent. This change makes parseopts check if arguments exist at all, rather than checking that they are non-empty Signed-off-by: Ethan Sommer <e5ten.arch@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2019-11-04 | libmakepkg: add optional argument support to parseopts | Ethan Sommer | |
Adds a "?" suffix that can be used to indicate that an option's argument is optional. This allows options to have a default behaviour when the user doesn't specify one, e.g.: --color=[when] being able to behave like --color=auto when only --color is passed Options with optional arguments given on the command line will be returned in the form "--opt=optarg" and "-o=optarg". Despite that not being the syntax for passing an argument with a shortopt (trying to pass -o=foo would make -o's argument "=foo"), this is done to allow the caller to split the option and its optarg easily Signed-off-by: Ethan Sommer <e5ten.arch@gmail.com> Reviewed-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2019-10-23 | Update copyright years | Allan McRae | |
make update-copyright OLD=2018 NEW=2019 Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-03-14 | Update coyrights for 2018 | Allan McRae | |
make update-copyright OLD=2017 NEW=201 Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2017-01-04 | Update copyright years | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2016-10-22 | makepkg: Move parseopts from library to libmakepkg | Alad Wenter | |
parseopts is used in makepkg and other scripts such as pacman-key as a getopt replacement. Instead of including it in those scripts via a macro, move it to libmakepkg/util/parseopts.sh and have scripts source this file where appropriate. To keep the parseopts test, a new variable was introduced: PM_LIBMAKEPKG_DIR Signed-off-by: Alad Wenter <alad@archlinux.info> Signed-off-by: Allan McRae <allan@archlinux.org> |