Ignore:
Timestamp:
Nov 28, 2011, 4:29:23 PM (13 years ago)
Author:
rybkin
Message:

See C.L. 467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_commands.cxx

    r588 r590  
    23272327  static HelpTexts& help_texts = get_help_texts ();
    23282328
    2329   cerr << "#> cmt command [option...]" << endl;
    2330   cerr << "# command :" << endl;
     2329  cout << "#> cmt command [option...]" << endl;
     2330  cout << "# command :" << endl;
    23312331
    23322332  int i;
     
    23362336      const cmt_string& s = help_texts[i];
    23372337      if (s == "") break;
    2338       cerr << "#   " << s << endl;
    2339     }
    2340 
    2341   cerr << "# global options :" << endl;
    2342 
    2343   cerr << "#   -disable_warnings       : don't print warnings" << endl;
    2344   cerr << "#   -quiet                  : don't print errors" << endl;
    2345   cerr << "#   -use=<p>:<v>:<path>     : set package version path" << endl;
    2346   cerr << "#   -pack=<package>         : set package" << endl;
    2347   cerr << "#   -version=<version>      : set version" << endl;
    2348   cerr << "#   -path=<path>            : set root path" << endl;
    2349   cerr << "#   -f=<requirements-file>  : set input file" << endl;
    2350   cerr << "#   -e=<statement>          : add a one line statement" << endl;
    2351   cerr << "#   -tag=<tag-list>         : select a new tag-set" << endl;
    2352   cerr << "#   -tag_add=<tag-list>     : add specific comma-separated tag(s)" << endl;
    2353   cerr << "#   -tag_remove=<tag-list>  : remove specific comma-separated tag(s)" << endl;
    2354   cerr << "#   -warnings               : display various warnings" << endl;
    2355   cerr << "#   -with_version_directory : reset to default structuring style" << endl;
    2356   cerr << "#   -without_version_directory : switch structuring style" << endl;
    2357   cerr << "#   -cleanup                : activate install area cleanup" << endl;
    2358   cerr << "#   -no_cleanup             : inhibit install area cleanup" << endl;
    2359   cerr << "#   -xml                    : output in XML format (cmt setup, cmt show projects, cmt show uses)" << endl;
     2338      cout << "#   " << s << endl;
     2339    }
     2340
     2341  cout << "# global options :" << endl;
     2342
     2343  cout << "#   -disable_warnings       : don't print warnings" << endl;
     2344  cout << "#   -quiet                  : don't print errors" << endl;
     2345  cout << "#   -use=<p>:<v>:<path>     : set package version path" << endl;
     2346  cout << "#   -pack=<package>         : set package" << endl;
     2347  cout << "#   -version=<version>      : set version" << endl;
     2348  cout << "#   -path=<path>            : set root path" << endl;
     2349  cout << "#   -f=<requirements-file>  : set input file" << endl;
     2350  cout << "#   -e=<statement>          : add a one line statement" << endl;
     2351  cout << "#   -tag=<tag-list>         : select a new tag-set" << endl;
     2352  cout << "#   -tag_add=<tag-list>     : add specific comma-separated tag(s)" << endl;
     2353  cout << "#   -tag_remove=<tag-list>  : remove specific comma-separated tag(s)" << endl;
     2354  cout << "#   -warnings               : display various warnings" << endl;
     2355  cout << "#   -with_version_directory : reset to default structuring style" << endl;
     2356  cout << "#   -without_version_directory : switch structuring style" << endl;
     2357  cout << "#   -cleanup                : activate install area cleanup" << endl;
     2358  cout << "#   -no_cleanup             : inhibit install area cleanup" << endl;
     2359  cout << "#   -xml                    : output in XML format (cmt setup, cmt show projects, cmt show uses)" << endl;
    23602360}
    23612361
     
    23692369    {
    23702370      const cmt_string& s = get_help_text (action);
    2371       cerr << "# " << s << endl;
     2371      cout << "# " << s << endl;
    23722372      int i;
    23732373
     
    23752375        {
    23762376          const cmt_string& s = help_texts[i];
    2377           cerr << "#   " << s << endl;
     2377          cout << "#   " << s << endl;
    23782378        }
    23792379    }
     
    23852385        {
    23862386          const cmt_string& s = help_texts[i];
    2387           cerr << "#   " << s << endl;
     2387          cout << "#   " << s << endl;
    23882388        }
    23892389    }
     
    23952395        {
    23962396          const cmt_string& s = help_texts[i];
    2397           cerr << "#   " << s << endl;
     2397          cout << "#   " << s << endl;
    23982398        }
    23992399    }
     
    24012401    {
    24022402      const cmt_string& s = get_help_text (action);
    2403       cerr << "# " << s << endl;
     2403      cout << "# " << s << endl;
    24042404    }
    24052405}
     
    24292429  help_texts.add () =  "build constituents_config [-out=<path>] [-with_cmt] [-without_cmt] : generate constituents Makefile, tag specific Makefile, and setup definitions file, also input requirements file for constituent(s) without associated tag";
    24302430  help_texts.add () =  "build broadcast_config [-out=<path>] : generate broadcast Makefile, and broadcast specific macros Makefile";
    2431   help_texts.add () =  "build dependencies [-out=<path>] [-all_sources] [-no_stamps] [-I<directory>]... [-start_all FILE... -end_all] NAME FILE... : generate dependencies for FILEs of constituent NAME";
     2431  help_texts.add () =  "build dependencies [-out=<path>] [-name=<constituent>] [-all_sources] [-no_stamps] [-I<directory>]... [-start_all FILE... -end_all] FILE... : generate dependencies for FILEs [of constituent <constituent>]";
    24322432  help_texts.add () =  "build library_links     : build symbolic links towards all imported libraries";
    24332433  help_texts.add () =  "build make_setup        : build a compiled version of setup scripts";
Note: See TracChangeset for help on using the changeset viewer.