diff options
Diffstat (limited to 'library/cpp/getopt/small/last_getopt_opts.cpp')
-rw-r--r-- | library/cpp/getopt/small/last_getopt_opts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/getopt/small/last_getopt_opts.cpp b/library/cpp/getopt/small/last_getopt_opts.cpp index 27a3dee5b2..03c432849f 100644 --- a/library/cpp/getopt/small/last_getopt_opts.cpp +++ b/library/cpp/getopt/small/last_getopt_opts.cpp @@ -297,7 +297,7 @@ namespace NLastGetopt { static const TString metavarDef("VAL"); const TString& title = option->GetArgTitle(); - const TString& metavar = title.empty() ? metavarDef : title; + const TString& metavar = title.empty() ? metavarDef : title; if (option->GetHasArg() == OPTIONAL_ARGUMENT) { result << " [" << metavar; @@ -414,7 +414,7 @@ namespace NLastGetopt { } else { os << SPad << leftColumn[i] << ' '; if (leftColumnSizes[i] < leftWidth) - os << TStringBuf(leftPadding.data(), leftWidth - leftColumnSizes[i]); + os << TStringBuf(leftPadding.data(), leftWidth - leftColumnSizes[i]); } TStringBuf help = opt->GetHelp(); |