Changeset ef4061f in rtems-tools


Ignore:
Timestamp:
Oct 22, 2012, 2:10:23 PM (9 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 5, master
Children:
8d1ab1f
Parents:
7461924
Message:

Fix the command line arguments help.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/main.cpp

    r7461924 ref4061f  
    9393            << " -M        : generate map output (also --map)" << std::endl
    9494            << " -o file   : linker output is written to file (also --output)" << std::endl
    95             << " -S script : linker output is a script file (also --script)" << std::endl
     95            << " -S       : linker output is a script file (also --script)" << std::endl
    9696            << " -L path   : path to a library, add multiple for more than" << std::endl
    9797            << "             one path (also --lib-path)" << std::endl
     
    204204
    205205        case 'o':
    206           if (output.size () != 0)
    207             std::cerr << "error: output already set" << std::endl;
     206          if (output != "a.out")
     207            std::cerr << "warning: output already set" << std::endl;
    208208          output = optarg;
    209209          break;
Note: See TracChangeset for help on using the changeset viewer.