src/lib/cmd_parser.h
int find_arg(const char *keyword)
   {
      for (int i=handle_plugin_name?1:0; i<argc; i++) {
         if (strcasecmp(keyword, argk[i]) == 0) {
            return i;
         }
      }
      return -1;
   }
/*
    * Given a single keyword, find it in the argument list
    * Returns: -1 if not found
    *           list index (base 0) on success
    */
Given a single keyword, find it in the argument list
Returns: -1 if not found
list index (base 0) on success
Given a single keyword find it in the argument list Returns : - 1 if not found list index ( base 0 ) on success
int find_arg(const char *keyword)
   {
      for (int i=handle_plugin_name?1:0; i<argc; i++) {
         if (strcasecmp(keyword, argk[i]) == 0) {
            return i;
         }
      }
      return -1;
   }
int find_arg ( const char * keyword ) { for ( int i = handle_plugin_name ? 1 : 0 ; i < argc ; i ++ ) { if ( strcasecmp ( keyword , argk [ i ] ) == 0 ) { return i ; } } return -1 ; }
Given a single keyword, find it in the argument list
 Returns: -1 if not found
           list index (base 0) on success
Given a single keyword find it in the argument list Returns : - 1 if not found list index ( base 0 ) on success