summaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/ut/last_getopt_ut.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Collect subcommand parts in getoptilikepugs2025-11-261-0/+16
| | | | | | | | | | | | | | | | #### Проблема Из TOptsParseResult сейчас невозможно понять, какую команду вызвали. Существует метод [GetProgrammName](https://nda.ya.ru/t/SdJXhPQC7NczPm, который частично решает эту задачу, однако: 1. Его поведение зависит от флага [PrintShortCommandInUsage](https://nda.ya.ru/t/3sh6_wPV7NczPt Выставление флага меняет вывод `help` 2. Даже с флагом метод отдает одну строку вместе с запускаемым бинарем. Если хочется отделить только submod'ы, то эту строку приходится сплитить. #### Решение Добавил всюду где нужно InvocationParts, которые заполняются по ходу парсинга входных аргументов. В конечном итоге эти parts передаются в TOptsParseResult, откуда могут быть получены вызывающей стороной. commit_hash:4cf72141552793b19a725b3d394b81215508b85f
* Intermediate changesrobot-piglet2025-09-041-0/+32
| | | | commit_hash:953617f2251dbf97b237f24d08a7b08816adb90b
* Intermediate changesrobot-piglet2025-09-031-36/+34
| | | | commit_hash:c0bcabe40fb4e3cad8e7b18076d6034df2bc5b49
* [arc][getopt]fix enforcment of RequiredArgument().DisableSpaceParse()tldr2024-11-211-0/+13
| | | | commit_hash:9c2ada5b95be3f810d2750406d74d839bd2598ff
* Allow to use std::vector in AppendToar7is72022-12-231-1/+7
|
* [getopt] Add typo check for long optionslightqwant2022-09-011-0/+25
|
* Allow skip arg in opt parserbulatkhr2022-07-151-0/+34
| | | add UnnecessaryArgument
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.nikkon2022-02-101-29/+29
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.nikkon2022-02-101-29/+29
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.steplg2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.steplg2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.moskupols2022-02-101-13/+13
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.moskupols2022-02-101-13/+13
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.amatanhead2022-02-101-9/+9
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.amatanhead2022-02-101-9/+9
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.alex-sh2022-02-101-10/+10
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.alex-sh2022-02-101-10/+10
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.yoda2022-02-101-14/+14
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.yoda2022-02-101-14/+14
|
* Restoring authorship annotation for Alexey Salmin <[email protected]>. ↵Alexey Salmin2022-02-101-56/+56
| | | | Commit 2 of 2.
* Restoring authorship annotation for Alexey Salmin <[email protected]>. ↵Alexey Salmin2022-02-101-56/+56
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.kaa2022-02-101-10/+10
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.kaa2022-02-101-10/+10
|
* Restoring authorship annotation for Vasily Gerasimov ↵Vasily Gerasimov2022-02-101-55/+55
| | | | <[email protected]>. Commit 2 of 2.
* Restoring authorship annotation for Vasily Gerasimov ↵Vasily Gerasimov2022-02-101-55/+55
| | | | <[email protected]>. Commit 1 of 2.
* Restoring authorship annotation for Arslan Urtashev <[email protected]>. ↵Arslan Urtashev2022-02-101-3/+3
| | | | Commit 2 of 2.
* Restoring authorship annotation for Arslan Urtashev <[email protected]>. ↵Arslan Urtashev2022-02-101-3/+3
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.albert2022-02-101-43/+43
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.albert2022-02-101-43/+43
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.nga2022-02-101-350/+350
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.nga2022-02-101-350/+350
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.diver2022-02-101-10/+10
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.diver2022-02-101-10/+10
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.tobo2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.tobo2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.yuraaka2022-02-101-12/+12
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.yuraaka2022-02-101-12/+12
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.yazevnul2022-02-101-34/+34
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.yazevnul2022-02-101-34/+34
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.swarmer2022-02-101-11/+11
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.swarmer2022-02-101-11/+11
|
* Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. ↵Vlad Yaroslavlev2022-02-101-46/+46
| | | | Commit 2 of 2.
* Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. ↵Vlad Yaroslavlev2022-02-101-46/+46
| | | | Commit 1 of 2.
* Restoring authorship annotation for Ilnur Khuziev <[email protected]>. ↵Ilnur Khuziev2022-02-101-2/+2
| | | | Commit 2 of 2.
* Restoring authorship annotation for Ilnur Khuziev <[email protected]>. ↵Ilnur Khuziev2022-02-101-2/+2
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.danlark2022-02-101-4/+4
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.danlark2022-02-101-4/+4
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.myltsev2022-02-101-6/+6
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.myltsev2022-02-101-6/+6
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.cerevra2022-02-101-1/+1
|