Что означает метавар и действие в argparse в Python?
Я читаюargparse модуль. Я застрял как то, что метавар и действие означает
>>> parser.add_argument('integers', metavar='N', type=int, nargs='+',
... help='an integer for the accumulator')
>>> parser.add_argument('--sum', dest='accumulate', action='store_const',
... const=sum, default=max,
... help='sum the integers (default: find the max)')
Я мог пропустить, но из того, что я прочитал, я не мог найти определения дляmetavar
а такжеaction (action="store_const", etc)
, что они на самом деле значат?