X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=selector.c;h=ad72cc236857f565e1d7348e47f8aaff97077c2e;hb=13409e09f11da7b3f3946151291e4f719f694cbf;hp=77ab6036921b9dfde551ef2b8f860d787b2994f0;hpb=ca3e09ab0e4ffc59ba170094421571ada871adbb;p=selector.git diff --git a/selector.c b/selector.c index 77ab603..ad72cc2 100644 --- a/selector.c +++ b/selector.c @@ -79,7 +79,7 @@ void *safe_malloc(size_t n) { void *p = malloc(n); if(!p && n != 0) { fprintf(stderr, - "selector: can not allocate memory: %s\n", strerror(errno)); + "selector: cannot allocate memory: %s\n", strerror(errno)); exit(EXIT_FAILURE); } return p; @@ -203,7 +203,8 @@ void usage(FILE *out) { fprintf(out, " make a flash instead of a beep on an edition error\n"); fprintf(out, " --bash\n"); fprintf(out, " setting for bash history search, same as -b -i -d -v -w -l ${HISTSIZE}\n"); - fprintf(out, " -- all following arguments are filenames\n"); + fprintf(out, " --\n"); + fprintf(out, " all following arguments are filenames\n"); fprintf(out, " -t