Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77950
b: refs/heads/master
c: 36091fd
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Sam Ravnborg committed Jan 28, 2008
1 parent eae7293 commit 6431fad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6025f4c8bbe147b8773f04ce5a7d2ca7f4a6a5c
refs/heads/master: 36091fd348e79ab703b0766420c0b06ff7662d2d
10 changes: 7 additions & 3 deletions trunk/scripts/genksyms/genksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,17 +440,21 @@ void error_with_pos(const char *fmt, ...)

static void genksyms_usage(void)
{
fputs("Usage:\n" "genksyms [-dDwqhV] > /path/to/.tmp_obj.ver\n" "\n"
fputs("Usage:\n" "genksyms [-adDTwqhV] > /path/to/.tmp_obj.ver\n" "\n"
#ifdef __GNU_LIBRARY__
" -a, --arch Select architecture\n"
" -d, --debug Increment the debug level (repeatable)\n"
" -D, --dump Dump expanded symbol defs (for debugging only)\n"
" -T, --dump-types file Dump expanded types into file (for debugging only)\n"
" -w, --warnings Enable warnings\n"
" -q, --quiet Disable warnings (default)\n"
" -h, --help Print this message\n"
" -V, --version Print the release version\n"
#else /* __GNU_LIBRARY__ */
" -a Select architecture\n"
" -d Increment the debug level (repeatable)\n"
" -D Dump expanded symbol defs (for debugging only)\n"
" -T file Dump expanded types into file (for debugging only)\n"
" -w Enable warnings\n"
" -q Disable warnings (default)\n"
" -h Print this message\n"
Expand All @@ -477,10 +481,10 @@ int main(int argc, char **argv)
{0, 0, 0, 0}
};

while ((o = getopt_long(argc, argv, "a:dwqVDT:k:p:",
while ((o = getopt_long(argc, argv, "a:dwqVDT:h",
&long_opts[0], NULL)) != EOF)
#else /* __GNU_LIBRARY__ */
while ((o = getopt(argc, argv, "a:dwqVDT:k:p:")) != EOF)
while ((o = getopt(argc, argv, "a:dwqVDT:h")) != EOF)
#endif /* __GNU_LIBRARY__ */
switch (o) {
case 'a':
Expand Down

0 comments on commit 6431fad

Please sign in to comment.