MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / ParseDone

Method ParseDone

Libraries/unrar/cmddata.cpp:158–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157
158void CommandData::ParseDone()
159{
160 if (FileArgs.ItemsCount()==0 && !FileLists)
161 FileArgs.AddString(MASKALL);
162 wchar CmdChar=toupperw(Command[0]);
163 bool Extract=CmdChar=='X' || CmdChar=='E' || CmdChar=='P';
164 if (Test && Extract)
165 Test=false; // Switch '-t' is senseless for 'X', 'E', 'P' commands.
166
167 // Suppress the copyright message and final end of line for 'lb' and 'vb'.
168 if ((CmdChar=='L' || CmdChar=='V') && Command[1]=='B')
169 BareOutput=true;
170}
171
172
173#if !defined(SFX_MODULE)

Callers 1

mainFunction · 0.80

Calls 3

toupperwFunction · 0.85
ItemsCountMethod · 0.80
AddStringMethod · 0.80

Tested by

no test coverage detected