Fix bug with redbean help flag

This commit is contained in:
Justine Tunney 2021-07-08 18:28:11 -07:00
parent 3641e99042
commit 4178896aa0

View file

@ -2121,7 +2121,7 @@ static wontreturn void PrintUsage(FILE *f, int rc) {
size_t n;
const char *p;
struct Asset *a;
if ((a = GetAssetZip("/help.txt", 10)) && (p = LoadAsset(a, &n))) {
if ((a = GetAssetZip("/help.txt", 9)) && (p = LoadAsset(a, &n))) {
fwrite(p, 1, n, f);
free(p);
}