Add new %Od and %OD pkg_printf() format codes for option default value and option description, respectively.
modified libpkg/pkg_printf.3
@@ -598,6 +598,14 @@ Option name [string]
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_printf.c
@@ -91,6 +91,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -450,6 +452,24 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1331,6 +1351,28 @@ format_option_value(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg_printf.h
@@ -105,6 +105,8 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -191,6 +193,8 @@ _static struct sbuf *format_repo_ident(struct sbuf *, const void *, struct perce
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|