History

help: also update main help with tcc -ar options and sort them

noneofyourbusiness committed 3 years ago

Commit 676755f1 parent 95e39512 files · +2 −2Browse files

Unified · Split

2 files
  1. tcc.c +1 −1
  2. tcctools.c +1 −1
tcc.c+1−1
@@ -78,7 +78,7 @@ static const char help[] = · 77 unmodified lines
7878 " -m32/64 defer to i386/x86_64 cross compiler\n"
7979 #endif
8080 "Tools:\n"
81− " create library : tcc -ar [rcsv] lib.a [files]\n"
81+ " create library : tcc -ar [crstvx] lib [files]\n"
8282 #ifdef TCC_TARGET_PE
8383 " create def file : tcc -impdef lib.dll [-v] [-o lib.def]\n"
8484 #endif
tcctools.c+1−1
@@ -61,7 +61,7 @@ static int contains_any(const char *s, const char *list) { · 60 unmodified lines
6161 }
6262
6363 static int ar_usage(int ret) {
64− fprintf(stderr, "usage: tcc -ar [rcstxv] lib [file...]\n");
64+ fprintf(stderr, "usage: tcc -ar [crstvx] lib [files]\n");
6565 fprintf(stderr, "create library ([abdiopN] not supported).\n");
6666 return ret;
6767 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t