Changeset 5592:da9a9bb6ece0 in roaraudio for roard/roard.c


Ignore:
Timestamp:
07/22/12 15:24:36 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

addded --list-plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r5586 r5592  
    4343enum metaaction { 
    4444 MA_ACTION, 
    45  MA_LIST_PROTO 
     45 MA_LIST_PROTO, 
     46 MA_LIST_PLUGIN 
    4647}; 
    4748 
     
    272273        " --plugin-args ARGS    - Arguments for the plugin\n" 
    273274        "                         (must be given before the --plugin-load)\n" 
     275        " --list-plugins        - List loaded plugins\n" 
    274276       ); 
    275277 
     
    17661768   _CKHAVEARGS(1); 
    17671769   plugin_args = argv[++i]; 
     1770  } else if ( strcmp(k, "--list-plugins") == 0 ) { 
     1771   metaaction = MA_LIST_PLUGIN; 
    17681772 
    17691773  } else if ( strcmp(k, "--guest-acclev") == 0 ) { 
     
    24672471    return 0; 
    24682472   break; 
     2473  case MA_LIST_PLUGIN: 
     2474    print_pluginlist(print_format); 
     2475    return 0; 
     2476   break; 
    24692477 } 
    24702478#endif 
Note: See TracChangeset for help on using the changeset viewer.