protected List<Identifiable> listAll(boolean useLongFormat, String otherFlags) { loadAllEntries(); if (allEntries.isEmpty()) { say("(no entries found)"); return allEntries; } int i = 0; getSortable().setState(otherFlags); allEntries = getSortable().sort(allEntries); for (Identifiable x : allEntries) { if (useLongFormat) { longFormat(x); } else { say((i++) + ". " + format(x)); } } return allEntries; }
return; longFormat(identifiable); return;