diff options
author | Seppia <seppia@seppia.net> | 2018-01-28 14:02:39 +0100 |
---|---|---|
committer | Seppia <seppia@seppia.net> | 2018-01-28 14:02:39 +0100 |
commit | 13c3af75fc18943d7cf3b93436dd117fff170664 (patch) | |
tree | c856728723e3b602536d1136059ac760501d4fe0 | |
parent | f689d45612767e2e465d6be4c2931bb13347e0d3 (diff) | |
download | onetimebluh-13c3af75fc18943d7cf3b93436dd117fff170664.tar.gz onetimebluh-13c3af75fc18943d7cf3b93436dd117fff170664.tar.bz2 onetimebluh-13c3af75fc18943d7cf3b93436dd117fff170664.zip |
Changed help style
Add spaces before commands and options in help function and minor style changes
-rw-r--r-- | src/onetimebluh.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c index 7782cf0..e8da841 100644 --- a/src/onetimebluh.c +++ b/src/onetimebluh.c @@ -338,21 +338,21 @@ void bluh (int c, char* mess, char* outp, char* ch) { } void help (char* av[]) { - fprintf (stdout,"ONETIMEBLUH USAGE:\n" + fprintf (stdout,"Onetimebluh usage:\n" "%s [COMMAND] [OPTIONS]\n\n" - "COMMANDS:\n\n" - "-b, --bluh=FILE bluhes your message or in other words performs a binary 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=FILE unbluhes your message (gets the orginal message from the binary dump)\n\n" - "OPTIONS\n\n" - "-c, --char=CAHRS reads two cahracters as argument and uses them to bluh your message\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" + "Commands:\n\n" + " -b, --bluh=FILE bluhes your message or in other words performs a binary 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=FILE unbluhes your message (gets the orginal message from the binary dump)\n\n" + "Options:\n\n" + " -c, --char=CAHRS reads two cahracters as argument and uses them to bluh your message\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; |