command-line suggestions #561

wants to merge 2 commits into
Commits on Jul 6, 2011
  1. @minrk

    add suggestions for most common errors in kv_loader

    minrk committed Jul 6, 2011
    The most likely mistakes people will make are:
    ipython -pdb # single leading '-' for flag, which requires '--'
    and ipython --gui=foo # leading '-' on assignment
    This adds a suggestion to the error message in these two cases for otherwise valid arguments.
  2. @minrk

    add parameter note to aliases help

    minrk committed Jul 6, 2011
    the form of parameters (no leading '-', etc.) is explained in the
    key-value section help, but this is not printed unless '--help-all' is given, so the explanation is added to aliases as well.