1
0
mirror of https://git.disroot.org/80486DX2-66/polonium.git synced 2024-12-27 07:30:23 +05:30

main.c: reformat help text for improved readability in source code

This commit is contained in:
Intel A80486DX2-66 2024-11-22 21:19:56 +03:00
parent ff06576b72
commit 44bc736d96
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -196,32 +196,29 @@ int main(int argc, char** argv) {
"Both parameters and options are optional.\n"
"\n"
"[parameters]:\n"
" -probability : Determines the likelihood of a neutron "
"radiation event\n"
" occurring. The higher the value, the more likely "
"the bits are\n"
" -probability : Determines the likelihood of a neutron radiation event\n"
" occurring. The higher the value, the more likely the bits "
"are\n"
" to be corrupted.\n"
" Value range: [1..%" PRIu16 "]\n"
" Default value: %" PRIu16 "\n"
"\n"
" -threshold : Controls the amount of change allowed for each "
"byte. The\n"
" higher the value, the more extensive the "
"modifications will be.\n"
" -threshold : Controls the amount of change allowed for each byte. The\n"
" higher the value, the more extensive the modifications will "
"be.\n"
" Value range: [1.." INT2STR(CHAR_BIT) "]\n"
" Default value: %" PRIu8 "\n"
"\n"
" -passes : Determines the number of times the file will be "
"processed. The\n"
" higher the value, the longer the overall "
"processing time will\n"
" -passes : Determines the number of times the file will be processed. "
"The\n"
" higher the value, the longer the overall processing time "
"will\n"
" be.\n"
" Value range: [1..%" PRIuMAX "]\n"
" Default value: %" PRIuMAX "\n"
"\n"
"[options]:\n"
" -noconfirm : (Caution!) Do not ask user to confirm "
"deletion\n"
" -noconfirm : (Caution!) Do not ask user to confirm deletion\n"
"\n"
" -contents : Only corrupt contents of files (PNG, BMP, WAV)\n"
"\n"
@ -229,8 +226,7 @@ int main(int argc, char** argv) {
"\n"
" -printable : Work only with printable ASCII characters\n"
"\n"
" -seed : Specify a 32-bit seed for the PRNG. If you want "
"to keep it\n"
" -seed : Specify a 32-bit seed for the PRNG. If you want to keep it\n"
" random, set the option to `random`.\n"
"\n"
" -verbose : Enable verbose output\n",
@ -240,7 +236,8 @@ int main(int argc, char** argv) {
probability,
threshold,
(uintmax_t) SIZE_MAX,
passes);
passes
);
free(program_name);
return EXIT_FAILURE;