Favorites view enforcement from the command line.

This commit is contained in:
Martin Dvorak 2014-04-13 09:47:04 +02:00
parent a237568a10
commit 41dabb75bd

View file

@ -702,7 +702,6 @@ void hstr()
HistoryItems *history=get_prioritized_history();
if(history) {
history_mgmt_open();
get_env_configuration();
loop_to_select(history);
hstr_on_exit();
} else {
@ -712,10 +711,11 @@ void hstr()
int main(int argc, char *argv[])
{
get_env_configuration();
if(argc>0) {
if(argc==2) {
if(strstr(argv[1], "--favorites") || strstr(argv[1], "-f")) {
xxx
historyView=HH_VIEW_FAVORITES;
}
if(strstr(argv[1], "--show-configuration")) {
printf("%s", INSTALL_STRING);