Output the help text to stdout
git-svn-id: svn://svn.cc65.org/cc65/trunk@3414 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
137b66ac97
commit
8a6fdb8562
9 changed files with 282 additions and 290 deletions
|
@ -60,8 +60,7 @@
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
/* Print usage information and exit */
|
/* Print usage information and exit */
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s <operation> lib file|module ...\n"
|
||||||
"Usage: %s <operation> lib file|module ...\n"
|
|
||||||
"Operation is one of:\n"
|
"Operation is one of:\n"
|
||||||
"\ta\tAdd modules\n"
|
"\ta\tAdd modules\n"
|
||||||
"\td\tDelete modules\n"
|
"\td\tDelete modules\n"
|
||||||
|
|
|
@ -84,8 +84,7 @@
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
/* Print usage information and exit */
|
/* Print usage information and exit */
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s [options] file\n"
|
||||||
"Usage: %s [options] file\n"
|
|
||||||
"Short options:\n"
|
"Short options:\n"
|
||||||
" -D name[=value]\tDefine a symbol\n"
|
" -D name[=value]\tDefine a symbol\n"
|
||||||
" -I dir\t\tSet an include directory search path\n"
|
" -I dir\t\tSet an include directory search path\n"
|
||||||
|
|
|
@ -77,8 +77,7 @@
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
/* Print usage information to stderr */
|
/* Print usage information to stderr */
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s [options] file\n"
|
||||||
"Usage: %s [options] file\n"
|
|
||||||
"Short options:\n"
|
"Short options:\n"
|
||||||
" -Cl\t\t\tMake local variables static\n"
|
" -Cl\t\t\tMake local variables static\n"
|
||||||
" -Dsym[=defn]\t\tDefine a symbol\n"
|
" -Dsym[=defn]\t\tDefine a symbol\n"
|
||||||
|
|
|
@ -588,8 +588,7 @@ static void ConvertO65 (const char* File)
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
/* Print usage information and exit */
|
/* Print usage information and exit */
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s [options] file [...]\n"
|
||||||
"Usage: %s [options] file [...]\n"
|
|
||||||
"Short options:\n"
|
"Short options:\n"
|
||||||
" -c\t\t\tCompile and assemble but don't link\n"
|
" -c\t\t\tCompile and assemble but don't link\n"
|
||||||
" -d\t\t\tDebug mode\n"
|
" -d\t\t\tDebug mode\n"
|
||||||
|
|
|
@ -68,8 +68,7 @@
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
/* Print usage information and exit */
|
/* Print usage information and exit */
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s [options] file\n"
|
||||||
"Usage: %s [options] file\n"
|
|
||||||
"Short options:\n"
|
"Short options:\n"
|
||||||
" -V\t\t\tPrint the version number\n"
|
" -V\t\t\tPrint the version number\n"
|
||||||
" -g\t\t\tAdd debug info to object file\n"
|
" -g\t\t\tAdd debug info to object file\n"
|
||||||
|
|
|
@ -69,8 +69,7 @@
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
/* Print usage information and exit */
|
/* Print usage information and exit */
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s [options] [inputfile]\n"
|
||||||
"Usage: %s [options] [inputfile]\n"
|
|
||||||
"Short options:\n"
|
"Short options:\n"
|
||||||
" -g\t\t\tAdd debug info to object file\n"
|
" -g\t\t\tAdd debug info to object file\n"
|
||||||
" -h\t\t\tHelp (this text)\n"
|
" -h\t\t\tHelp (this text)\n"
|
||||||
|
|
|
@ -213,7 +213,7 @@ void openVFile (void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void printUsage (void) {
|
void printUsage (void) {
|
||||||
fprintf(stderr, "Usage: %s [options] file\n"
|
printf("Usage: %s [options] file\n"
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
"\t-h, -?\t\tthis help\n"
|
"\t-h, -?\t\tthis help\n"
|
||||||
"\t-f\t\tforce writting files\n"
|
"\t-f\t\tforce writting files\n"
|
||||||
|
|
|
@ -89,8 +89,7 @@ static unsigned LibFiles = 0; /* Count of library files linked */
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
/* Print usage information and exit */
|
/* Print usage information and exit */
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s [options] module ...\n"
|
||||||
"Usage: %s [options] module ...\n"
|
|
||||||
"Short options:\n"
|
"Short options:\n"
|
||||||
" -C name\t\tUse linker config file\n"
|
" -C name\t\tUse linker config file\n"
|
||||||
" -L path\t\tSpecify a library search path\n"
|
" -L path\t\tSpecify a library search path\n"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 2002-2003 Ullrich von Bassewitz */
|
/* (C) 2002-2005 Ullrich von Bassewitz */
|
||||||
/* Römerstrasse 52 */
|
/* Römerstrasse 52 */
|
||||||
/* D-70794 Filderstadt */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@cc65.org */
|
/* EMail: uz@cc65.org */
|
||||||
|
@ -70,8 +70,7 @@
|
||||||
|
|
||||||
static void Usage (void)
|
static void Usage (void)
|
||||||
{
|
{
|
||||||
fprintf (stderr,
|
printf ("Usage: %s [options] file\n"
|
||||||
"Usage: %s [options] file\n"
|
|
||||||
"Short options:\n"
|
"Short options:\n"
|
||||||
" -C name\t\tUse simulator config file\n"
|
" -C name\t\tUse simulator config file\n"
|
||||||
" -L dir\t\tSet a chip directory search path\n"
|
" -L dir\t\tSet a chip directory search path\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue