mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-25 01:18:57 +00:00
Fix newlines in help menu
This commit is contained in:
parent
26fd67d932
commit
ab8d2eb336
@ -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)
|
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;
|
const hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
|
||||||
outfile_ctx_t *outfile_ctx = hashcat_ctx->outfile_ctx;
|
const outfile_ctx_t *outfile_ctx = hashcat_ctx->outfile_ctx;
|
||||||
|
|
||||||
char tmp_buf[HCBUFSIZ_LARGE];
|
char tmp_buf[HCBUFSIZ_LARGE];
|
||||||
int tmp_len = 0;
|
int tmp_len = 0;
|
||||||
|
12
src/usage.c
12
src/usage.c
@ -410,10 +410,18 @@ static const char *USAGE_BIG[] =
|
|||||||
|
|
||||||
void usage_mini_print (const char *progname)
|
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)
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user