Ignore:
Timestamp:
Nov 29, 2008, 5:20:44 PM (16 years ago)
Author:
rybkin
Message:

See C.L. 377

File:
1 edited

Legend:

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

    r466 r482  
    14231423      else if (arg == "path")
    14241424        {
    1425           cmt.m_action = action_show_path;
     1425          if (argc == 0)
     1426            {
     1427              cmt.m_action = action_show_path;
     1428            }
     1429          else if (argc == 1 && cmt_string (argv[0]) == "-d")
     1430            {
     1431              fill_one_argument ();
     1432              cmt.m_action = action_show_path;
     1433            }
     1434          else
     1435            {
     1436              cmt.m_action = action_show_path;
     1437              help_action = action_help;
     1438            }
    14261439        }
    14271440      else if (arg == "pattern")
     
    22402253  help_texts.add () =  "show  manager           :  package manager";
    22412254  help_texts.add () =  "show  packages          :  packages reachable from the current context";
    2242   help_texts.add () =  "show  path              :  the package search list";
     2255  help_texts.add () =  "show  path [-d]         :  the package search paths list [in detail]";
    22432256  help_texts.add () =  "show  pattern <name>    :  the pattern definition and usages";
    22442257  help_texts.add () =  "show  pattern_names     :  pattern names";
Note: See TracChangeset for help on using the changeset viewer.