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
78 " -m32/64 defer to i386/x86_64 cross compiler\n"78 " -m32/64 defer to i386/x86_64 cross compiler\n"
79#endif79#endif
80 "Tools:\n"80 "Tools:\n"
81 " create library : tcc -ar [rcsv] lib.a [files]\n"81 " create library : tcc -ar [crstvx] lib [files]\n"
82#ifdef TCC_TARGET_PE82#ifdef TCC_TARGET_PE
83 " create def file : tcc -impdef lib.dll [-v] [-o lib.def]\n"83 " create def file : tcc -impdef lib.dll [-v] [-o lib.def]\n"
84#endif84#endif
tcctools.c+1−1
@@ -61,7 +61,7 @@ static int contains_any(const char *s, const char *list) { · 60 unmodified lines
61}61}
62 62
63static int ar_usage(int ret) {63static 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");
65 fprintf(stderr, "create library ([abdiopN] not supported).\n");65 fprintf(stderr, "create library ([abdiopN] not supported).\n");
66 return ret;66 return ret;
67}67}

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