| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Collect subcommand parts in getopt | ilikepugs | 2025-11-26 | 1 | -0/+50 |
| | | | | | | | | | | | | | | | | | #### Проблема Из 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 | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | chegoryu | 2022-02-10 | 1 | -24/+24 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | chegoryu | 2022-02-10 | 1 | -24/+24 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | nkmakarov | 2022-02-10 | 1 | -39/+39 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | nkmakarov | 2022-02-10 | 1 | -39/+39 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | yazevnul | 2022-02-10 | 1 | -6/+6 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | yazevnul | 2022-02-10 | 1 | -6/+6 |
| | | |||||
| * | Restoring authorship annotation for Ilnur Khuziev <[email protected]>. ↵ | Ilnur Khuziev | 2022-02-10 | 1 | -2/+2 |
| | | | | | Commit 2 of 2. | ||||
| * | Restoring authorship annotation for Ilnur Khuziev <[email protected]>. ↵ | Ilnur Khuziev | 2022-02-10 | 1 | -2/+2 |
| | | | | | Commit 1 of 2. | ||||
| * | intermediate changes | Devtools Arcadia | 2022-02-07 | 1 | -0/+71 |
| ref:cde9a383711a11544ce7e107a78147fb96cc4029 | |||||
