summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-12-11 20:03:33 -0500
committerDave Reisner <d@falconindy.com>2010-12-11 20:03:33 -0500
commita971ee49ed668196e7f40fb8267403cbb3e50b62 (patch)
tree052045172bbbf5d5a673fc117106986ab5b096b4
parent236ef35e1ce9eccfa47d37718b763decb7077136 (diff)
downloadexpac-a971ee49ed668196e7f40fb8267403cbb3e50b62.tar.xz
%k is sync only
-rw-r--r--README.pod2
-rw-r--r--expac.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.pod b/README.pod
index cd29252..8c5ea3c 100644
--- a/README.pod
+++ b/README.pod
@@ -97,7 +97,7 @@ The format argument allows the following interpreted sequences:
%i has install scriptlet (only with -Q)
- %k download size
+ %k download size (only with -S)
%l install date (only with -Q)
diff --git a/expac.c b/expac.c
index 4a17d3b..e769df9 100644
--- a/expac.c
+++ b/expac.c
@@ -37,9 +37,9 @@
#define DEFAULT_DELIM "\n"
#define DEFAULT_LISTDELIM " "
#define DEFAULT_TIMEFMT "%c"
-#define FORMAT_TOKENS "BCDEGLNOPRSabdkmnprsuvw%"
+#define FORMAT_TOKENS "BCDEGLNOPRSabdmnprsuvw%"
#define FORMAT_TOKENS_LOCAL "ilFw"
-#define FORMAT_TOKENS_SYNC "f"
+#define FORMAT_TOKENS_SYNC "fk"
#define ESCAPE_TOKENS "\"\\abefnrtv"
static char const digits[] = "0123456789";