demo: print default data dir in usage()

This commit is contained in:
nick black 2020-02-05 16:49:06 -05:00
parent 01bc543399
commit b38985e99c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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){