[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 0dd4eef68: Fix help message of apinames.
From: |
Werner Lemberg |
Subject: |
[freetype2] master 0dd4eef68: Fix help message of apinames. |
Date: |
Thu, 10 Oct 2024 03:32:09 -0400 (EDT) |
branch: master
commit 0dd4eef68fb5f79e87d8cf61570faa2162f1190b
Author: Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp>
Commit: Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp>
Fix help message of apinames.
* src/tools/apinames.c: The first header file must be
given after the options. All arguments after the
first header file are dealt as header files to be
parsed, regardless with their leading "-".
For example,
"apinames include/freetype/freetype.h -dFREETYPE.DLL"
warns "unable to open -dFREETYPE.DLL".
Thus, the "header1" must be given after the arguments
to be parsed as the options.
---
src/tools/apinames.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/apinames.c b/src/tools/apinames.c
index 5a49b0649..38407b2d7 100644
--- a/src/tools/apinames.c
+++ b/src/tools/apinames.c
@@ -380,7 +380,7 @@ usage( void )
"It receives a list of header files as an argument and\n"
"generates a sorted list of unique identifiers in various formats.\n"
"\n"
- "usage: %s header1 [options] [header2 ...]\n"
+ "usage: %s [options] header1 [header2 ...]\n"
"\n"
"options: - parse the contents of stdin, ignore arguments\n"
" -v verbose mode, output sent to standard error\n"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 0dd4eef68: Fix help message of apinames.,
Werner Lemberg <=