reorder flags in argparse msg

This commit is contained in:
silverweed 2024-11-12 13:21:58 +01:00
parent 5a50fece2f
commit 0d964a1b9a

View file

@ -4,15 +4,16 @@ void print_help(const char *argv0)
fprintf(stderr,
"rntviewer v" V_MAJOR "." V_MINOR " by silverweed"
"\n"
"\nUsage: %s [-t] [-s START] [-l LEN] [-w WIDTH] [-e] <ntuple_file.root> [ntuple_name]"
"\n\t-t: no graphics, output to terminal"
"\n\t-s: set first displayed byte to START"
"\n\t-l: display LEN bytes (only in terminal mode)"
"\n\t-w: display WIDTH bytes per column"
"\nUsage: %s [-ehkntv] [-s START] [-l LEN] [-w WIDTH] <ntuple_file.root> [ntuple_name]"
"\n\t-e: display some extended info(*) (may slow down the startup)"
"\n\t-n: list the names of the RNTuples found in the file and exit"
"\n\t-v: print version and copyright info"
"\n\t-h: display this help and exit"
"\n\t-l: display LEN bytes (only in terminal mode)"
"\n\t-k: print information about the TKeys in the file"
"\n\t-n: list the names of the RNTuples found in the file and exit"
"\n\t-s: set first displayed byte to START"
"\n\t-t: no graphics, output to terminal"
"\n\t-v: print version and copyright info"
"\n\t-w: display WIDTH bytes per column"
"\n"
"\nNOTES:"
"\n- if `ntuple_name' is not passed, rntviewer will look for the first RNTuple in the TFile."