| 1525 | } |
| 1526 | |
| 1527 | static CLIStatus chans(int argc, char **argv, ostream& os) |
| 1528 | { |
| 1529 | // bool showAll = false; |
| 1530 | // if (argc==2) showAll = true; |
| 1531 | map<string,string> options = cliParse(argc,argv,os,"-a -l -tab"); |
| 1532 | bool showAll = options.count("-a"); |
| 1533 | bool longList = options.count("-l"); |
| 1534 | bool tabSeparated = options.count("-tab"); |
| 1535 | if (argc) return BAD_NUM_ARGS; |
| 1536 | printChansV4(os,showAll,longList,tabSeparated); |
| 1537 | return SUCCESS; |
| 1538 | } |
| 1539 | |
| 1540 | #if OLD_VERSION |
| 1541 | void printChanInfo(unsigned transID, const GSM::L2LogicalChannel* chan, ostream& os) |
nothing calls this directly
no test coverage detected