mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 04:07:08 -06:00
4.50 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
7038848692
commit
980e181dcc
@@ -335,6 +335,9 @@ HRESULT CFieldPrinter::PrintItemInfo(IInArchive *archive,
|
||||
else
|
||||
{
|
||||
UString s = ConvertPropertyToString(propVariant, fieldInfo.PropID);
|
||||
s.Replace(wchar_t(0xA), L' ');
|
||||
s.Replace(wchar_t(0xD), L' ');
|
||||
|
||||
if (techMode)
|
||||
g_StdOut << s;
|
||||
else
|
||||
@@ -457,8 +460,19 @@ HRESULT ListArchives(
|
||||
const UString defaultItemName = archiveLink.GetDefaultItemName();
|
||||
|
||||
if (enableHeaders)
|
||||
{
|
||||
g_StdOut << endl << kListing << archiveName << endl << endl;
|
||||
|
||||
NCOM::CPropVariant propVariant;
|
||||
RINOK(archive->GetArchiveProperty(kpidComment, &propVariant));
|
||||
if (propVariant.vt != VT_EMPTY)
|
||||
{
|
||||
UString s = ConvertPropertyToString(propVariant, kpidComment);
|
||||
if (!s.IsEmpty())
|
||||
g_StdOut << "Comment:\n" << s << "\n\n";
|
||||
}
|
||||
}
|
||||
|
||||
if (enableHeaders && !techMode)
|
||||
{
|
||||
fieldPrinter.PrintTitle();
|
||||
|
||||
@@ -106,6 +106,7 @@ static const char *kHelpString =
|
||||
" -si[{name}]: read data from stdin\n"
|
||||
" -slt: show technical information for l (List) command\n"
|
||||
" -so: write data to stdout\n"
|
||||
" -ssc[-]: set sensitive case mode\n"
|
||||
" -ssw: compress shared files\n"
|
||||
" -t{Type}: Set type of archive\n"
|
||||
" -v{Size}[b|k|m|g]: Create volumes\n"
|
||||
|
||||
Reference in New Issue
Block a user