summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSeppia <nonso@insicuri.net>2016-11-30 02:02:20 +0100
committerSeppia <nonso@insicuri.net>2016-11-30 02:02:20 +0100
commit3a5e86e17f54e6301b1e51bd930e2d22c351bdd6 (patch)
treec45e277bf2f19a2f029b9a1af7ea197424a38aa7 /src
parente86c2e2058aba0cb96eb4175802b260a5ead3da3 (diff)
downloadonetimebluh-3a5e86e17f54e6301b1e51bd930e2d22c351bdd6.tar.gz
onetimebluh-3a5e86e17f54e6301b1e51bd930e2d22c351bdd6.tar.bz2
onetimebluh-3a5e86e17f54e6301b1e51bd930e2d22c351bdd6.zip
fixed help() function
Diffstat (limited to 'src')
-rw-r--r--src/onetimebluh.c28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c
index 0d3d324..3e44a2a 100644
--- a/src/onetimebluh.c
+++ b/src/onetimebluh.c
@@ -335,19 +335,21 @@ void bluh(int c, char* mess, char* outp) {
}
void help(char* av[]) {
- fprintf(stdout,"ONETIMEBLUH USAGE: \n"
- "%s [COMMAND] [OPTIONS] \n \n"
- "COMMANDS: \n"
- "-d, --decrypt=FILE decrypt message (input) same ad --encrypt, just for the feeling \n"
- "-e, --encrypt=FILE encrypt message (input) \n"
- "-h, --help print this help \n"
- "-g, --key-gen create key file \n \n"
- "OPTIONS \n"
- "-k, --key-file=KEY_FILE use key (input) \n"
- "-b, --nbytes=NUM number of bytes \n"
- "-o, --output=FILE output name \n"
- "-t, --tear-page deletes from the pad file the bytes used to encrypt/decrypt \n \n"
- "Onetimebluh project repository at https://git.eigenlab.org/Seppia/onetimebluh \n", av[0]);
+ fprintf(stdout,"ONETIMEBLUH USAGE:\n"
+ "%s [COMMAND] [OPTIONS]\n\n"
+ "COMMANDS:\n"
+ "-b, --bluh bluhes your message or in other words performs a bynary dump\n"
+ "-d, --decrypt=FILE decrypt message (input) same ad --encrypt, just for the feeling\n"
+ "-e, --encrypt=FILE encrypt message (input)\n"
+ "-g, --gen-key create key file\n"
+ "-h, --help print this help\n"
+ "-u, --unbluh unbluhes your message (gets the orginal message from the binary dump)\n\n"
+ "OPTIONS\n"
+ "-k, --key-file=KEY_FILE use key (input)\n"
+ "-n, --nbytes=NUM number of bytes\n"
+ "-o, --output=FILE output name\n"
+ "-t, --tear-page deletes from the pad file the bytes used to encrypt/decrypt\n\n"
+ "Onetimebluh project repository at https://git.eigenlab.org/seppia/onetimebluh\n", av[0]);
return;
}