|
Lines 664-670
Link Here
|
| 664 |
{ |
664 |
{ |
| 665 |
case ZypperCommand::INSTALL_e: |
665 |
case ZypperCommand::INSTALL_e: |
| 666 |
case ZypperCommand::REMOVE_e: |
666 |
case ZypperCommand::REMOVE_e: |
| 667 |
//case Zyppercommand::UPDATE_e: TODO once the update will take arguments |
667 |
case ZypperCommand::UPDATE_e: |
| 668 |
{ |
668 |
{ |
| 669 |
remove_selections(*this); |
669 |
remove_selections(*this); |
| 670 |
break; |
670 |
break; |
|
Lines 2957-2966
Link Here
|
| 2957 |
kinds.insert(kind); |
2957 |
kinds.insert(kind); |
| 2958 |
} |
2958 |
} |
| 2959 |
} |
2959 |
} |
| 2960 |
else if (globalOpts().is_rug_compatible) |
2960 |
else if (globalOpts().is_rug_compatible || !_arguments.empty() /* bnc #385990*/) |
| 2961 |
kinds.insert(ResTraits<Package>::kind); |
2961 |
kinds.insert(ResKind::package); |
| 2962 |
else |
2962 |
else |
| 2963 |
kinds.insert(ResTraits<Patch>::kind); |
2963 |
kinds.insert(ResKind::patch); |
| 2964 |
bool best_effort = copts.count( "best-effort" ); |
2964 |
bool best_effort = copts.count( "best-effort" ); |
| 2965 |
if (globalOpts().is_rug_compatible && best_effort) |
2965 |
if (globalOpts().is_rug_compatible && best_effort) |