CmdNews: Version methods should generate all items, regardless of priority
Drop the flag about full/abbreviated report being passed to the version methods. The methods shold just generate the NewsItem objects, the CmdNews::execute will take care of displaying only the ones matching the verbosity level the user selected.
This commit is contained in:
@@ -45,7 +45,7 @@ class CmdNews : public Command
|
||||
public:
|
||||
CmdNews ();
|
||||
int execute (std::string&);
|
||||
void version2_6_0 (bool, std::vector<NewsItem>&);
|
||||
void version2_6_0 (std::vector<NewsItem>&);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user