From 928c76235fd1e5e4b3b421e58c6877cd94b15557 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 1 May 2011 17:42:49 +0000 Subject: [PATCH] Fix output of --help regarding -W. Added new option --list-warnings. git-svn-id: svn://svn.cc65.org/cc65/trunk@5005 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/cc65.sgml | 13 ++++++++++++- src/cc65/error.c | 13 ++++++++++++- src/cc65/error.h | 7 ++++++- src/cc65/main.c | 19 +++++++++++++++++-- 4 files changed, 47 insertions(+), 5 deletions(-) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 027e75020..a1731879a 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -61,7 +61,7 @@ Short options: -Os Inline some known functions -T Include source as comment -V Print the compiler version number - -W Suppress warnings + -W warning[,...] Suppress warnings -d Debug mode -g Add debug info to object file -h Help (this text) @@ -92,6 +92,7 @@ Long options: --help Help (this text) --include-dir dir Set an include directory search path --list-opt-steps List all optimizer steps and exit + --list-warnings List available warning types for -W --local-strings Emit string literals immediately --memory-model model Set the memory model --register-space b Set space available for register variables @@ -222,6 +223,13 @@ Here is a description of all the command line options: Print the short option summary shown above. +