mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
demo: print default data dir in usage()
This commit is contained in:
parent
01bc543399
commit
b38985e99c
@ -138,7 +138,7 @@ usage(const char* exe, int status){
|
||||
fprintf(out, " -d: delay multiplier (non-negative float)\n");
|
||||
fprintf(out, " -f: render to file in addition to stdout\n");
|
||||
fprintf(out, " -c: constant PRNG seed, useful for benchmarking\n");
|
||||
fprintf(out, " -p: data file path\n");
|
||||
fprintf(out, " -p: data file path (default: %s)\n", NOTCURSES_SHARE);
|
||||
fprintf(out, "if no specification is provided, run %s\n", DEFAULT_DEMO);
|
||||
for(size_t i = 0 ; i < sizeof(demos) / sizeof(*demos) ; ++i){
|
||||
if(demos[i].name){
|
||||
|
Loading…
x
Reference in New Issue
Block a user