query: add %y and %Y for provides/requires
modified docs/pkg-query.8
@@ -146,7 +146,7 @@ available, or
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -171,10 +171,14 @@ for groups
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -199,6 +203,10 @@ for groups
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -279,6 +287,10 @@ Expands to the list of groups needed by the matched package.
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -330,7 +342,7 @@ Message of the package (type string)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -362,6 +374,10 @@ License of the package (type string)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/query.c
@@ -54,9 +54,11 @@ static const struct query_flags accepted_query_flags[] = {
|
|
|
|
|
|
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -173,6 +175,12 @@ format_str(struct pkg *pkg, xstring *dest, const char *qstr, const void *data)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -214,6 +222,12 @@ format_str(struct pkg *pkg, xstring *dest, const char *qstr, const void *data)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -310,6 +324,12 @@ format_str(struct pkg *pkg, xstring *dest, const char *qstr, const void *data)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -403,7 +423,9 @@ print_query(struct pkg *pkg, char *qstr, char multiline)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -412,6 +434,8 @@ print_query(struct pkg *pkg, char *qstr, char multiline)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -612,6 +636,12 @@ format_sql_condition(const char *str, xstring *sqlcond, bool for_remote)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -662,6 +692,16 @@ format_sql_condition(const char *str, xstring *sqlcond, bool for_remote)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|