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

This commit is contained in:
noneofyourbusiness 2022-12-26 01:48:54 +01:00
parent 95e39517ef
commit 676755f6ee
No known key found for this signature in database
GPG key ID: FF810A8659912F5A
2 changed files with 2 additions and 2 deletions

2
tcc.c
View file

@ -78,7 +78,7 @@ static const char help[] =
" -m32/64 defer to i386/x86_64 cross compiler\n"
#endif
"Tools:\n"
" create library : tcc -ar [rcsv] lib.a [files]\n"
" create library : tcc -ar [crstvx] lib [files]\n"
#ifdef TCC_TARGET_PE
" create def file : tcc -impdef lib.dll [-v] [-o lib.def]\n"
#endif

View file

@ -61,7 +61,7 @@ static int contains_any(const char *s, const char *list) {
}
static int ar_usage(int ret) {
fprintf(stderr, "usage: tcc -ar [rcstxv] lib [file...]\n");
fprintf(stderr, "usage: tcc -ar [crstvx] lib [files]\n");
fprintf(stderr, "create library ([abdiopN] not supported).\n");
return ret;
}