updates some of the help menu

This commit is contained in:
SuperNovaa41 2025-02-08 09:18:39 -05:00
parent 3072bd0973
commit f14c235cf4

View File

@ -7,10 +7,10 @@
#include "include/hex.h" #include "include/hex.h"
#include "include/file.h" #include "include/file.h"
const char* argp_program_version = "xxd 0.1"; const char* argp_program_version = "xxd 0.2";
const char* argp_program_bug_address = "supernovaa41@gmx.com"; const char* argp_program_bug_address = "supernovaa41@gmx.com";
static char doc[] = "Creates a hex dump of the given file."; static char doc[] = "Recreation of the GNU util xxd. Creates a hex dump of the given input.";
static char args_doc[] = "INFILE [OUTFILE]"; static char args_doc[] = "[INFILE [OUTFILE]]";
static struct argp_option options[] = { static struct argp_option options[] = {
{"cols", 'c', "cols", 0, "format <cols> octets per line. Default 16.", 0}, {"cols", 'c', "cols", 0, "format <cols> octets per line. Default 16.", 0},
{"octets", 'g', "bytes", 0, "number of octets per group in normal output. Default 2.", 0}, {"octets", 'g', "bytes", 0, "number of octets per group in normal output. Default 2.", 0},