• Home
  • Raw
  • Download

Lines Matching full:help

42    $ ls --help
66 * That's a snippet of the help text. It's very useful in that you can
68 how it works simply by reading its help text.
85 $ python prog.py --help
89 -h, --help show this help message and exit
103 module. We have done almost nothing, but already we get a nice help message.
105 * The ``--help`` option, which can also be shortened to ``-h``, is the only
129 $ python prog.py --help
136 -h, --help show this help message and exit
156 Note however that, although the help display looks nice and all, it currently
163 parser.add_argument("echo", help="echo the string you use here")
178 -h, --help show this help message and exit
184 parser.add_argument("square", help="display a square of a given number")
204 parser.add_argument("square", help="display a square of a given number",
231 parser.add_argument("--verbosity", help="increase output verbosity")
243 $ python prog.py --help
247 -h, --help show this help message and exit
265 * The help message is a bit different.
276 parser.add_argument("--verbose", help="increase output verbosity",
291 $ python prog.py --help
295 -h, --help show this help message and exit
310 * Notice the different help text.
322 parser.add_argument("-v", "--verbose", help="increase output verbosity",
334 $ python prog.py --help
338 -h, --help show this help message and exit
341 Note that the new ability is also reflected in the help text.
352 help="display a square of a given number")
354 help="increase output verbosity")
386 help="display a square of a given number")
388 help="increase output verbosity")
420 help="display a square of a given number")
422 help="increase output verbosity")
446 -h, --help show this help message and exit
451 help string.
455 verbosity argument (check the output of ``python --help``)::
460 help="display the square of a given number")
462 help="increase output verbosity")
495 -h, --help show this help message and exit
514 * Sadly, our help output isn't very informative on the new ability our script
516 our script (e.g. via the ``help`` keyword argument).
526 help="display a square of a given number")
528 help="increase output verbosity")
564 help="display a square of a given number")
566 help="increase output verbosity")
604 parser.add_argument("x", type=int, help="the base")
605 parser.add_argument("y", type=int, help="the exponent")
631 -h, --help show this help message and exit
643 parser.add_argument("x", type=int, help="the base")
644 parser.add_argument("y", type=int, help="the exponent")
684 parser.add_argument("x", type=int, help="the base")
685 parser.add_argument("y", type=int, help="the exponent")
727 parser.add_argument("x", type=int, help="the base")
728 parser.add_argument("y", type=int, help="the exponent")
745 $ python prog.py --help
755 -h, --help show this help message and exit