Ticket #10589: trac_10589--updating_fixdoctests_command_line_options-am.patch

File trac_10589--updating_fixdoctests_command_line_options-am.patch, 1.9 KB (added by andrew.mathas, 7 years ago)

Fixing help strings

  • spkg/bin/sage

    # HG changeset patch
    # User Andrew Mathas <andrew dot mathas at sydney dot edu dot au>
    # Date 1380891576 -7200
    # Node ID f0a99a12f333d56be7f215a7d7f5dbd6f3fc33d4
    # Parent  5a17590b21707ce95bcc5c20d739545512171889
    Updating the message for the fixdoctests option printed by --advanced
    
    diff --git a/spkg/bin/sage b/spkg/bin/sage
    a b usage_advanced() { 
    151151    echo "  -btnew [...]        -- build and test modified files, options like -tnew"
    152152    echo "  -clone [new branch] -- clone a new branch of the Sage library from the"
    153153    echo "                         current branch"
    154     echo "  -fixdoctests <file.py> -- create <file.py>.out that would pass the doctests"
    155     echo "                            and output a patch"
    156     echo "  -startuptime [module]  -- display how long each component of Sage takes to"
    157     echo "                            start up; optionally specify a module to get more"
    158     echo "                            details about that particular module"
     154    echo "  -fixdoctests <file.py> [output_file] [--long]"
     155    echo "                      -- writes a new version of file.py to output_file"
     156    echo "                         (defaults: to file.py.out) that will pass the doctests."
     157    echo "                         With the optional --long argument the long time tests"
     158    echo "                         are also checked."
     159    echo "                         A patch for the new file is printed to stdout."
     160    echo "  -startuptime [module] -- display how long each component of Sage takes to"
     161    echo "                         start up; optionally specify a module to get more"
     162    echo "                         details about that particular module"
    159163    echo "  -t [options] <--all|files|dir>"
    160164    echo "                      -- test examples in .py, .pyx, .sage, .tex or .rst files"
    161165    echo "                         selected options:"