1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 15:38:11 +00:00

Fix newlines in help menu

This commit is contained in:
jsteube 2016-10-11 09:46:18 +02:00
parent 26fd67d932
commit ab8d2eb336
2 changed files with 12 additions and 4 deletions

View File

@ -319,8 +319,8 @@ void outfile_write_close (hashcat_ctx_t *hashcat_ctx)
void outfile_write (hashcat_ctx_t *hashcat_ctx, const char *out_buf, const unsigned char *plain_ptr, const u32 plain_len, const u64 crackpos, const unsigned char *username, const u32 user_len)
{
hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
outfile_ctx_t *outfile_ctx = hashcat_ctx->outfile_ctx;
const hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
const outfile_ctx_t *outfile_ctx = hashcat_ctx->outfile_ctx;
char tmp_buf[HCBUFSIZ_LARGE];
int tmp_len = 0;

View File

@ -410,10 +410,18 @@ static const char *USAGE_BIG[] =
void usage_mini_print (const char *progname)
{
for (int i = 0; USAGE_MINI[i] != NULL; i++) printf (USAGE_MINI[i], progname);
for (int i = 0; USAGE_MINI[i] != NULL; i++)
{
printf (USAGE_MINI[i], progname);
printf (EOL);
}
}
void usage_big_print (const char *progname)
{
for (int i = 0; USAGE_BIG[i] != NULL; i++) printf (USAGE_BIG[i], progname);
for (int i = 0; USAGE_BIG[i] != NULL; i++)
{
printf (USAGE_BIG[i], progname);
printf (EOL);
}
}