Index: main.c =================================================================== RCS file: /cvs/pkgconfig/pkgconfig/main.c,v retrieving revision 1.13 diff -r1.13 main.c 96a97,104 > void > print_hashtable_key (gpointer key, > gpointer value, > gpointer user_data) > { > printf("%s\n", (gchar*)key); > } > 177a186 > static int want_variable_list = 0; 221a231,232 > { "variables", 0, POPT_ARG_NONE, &want_variable_list, 0, > "output list of variables defined by the module" }, 387c398,399 < want_list) --- > want_list || > want_variable_list) 623a636,652 > if (want_variable_list) > { > GSList *tmp; > gchar *str; > tmp = packages; > while (tmp != NULL) > { > Package *pkg = tmp->data; > g_hash_table_foreach(pkg->vars, > &print_hashtable_key, > NULL); > tmp = g_slist_next (tmp); > if (tmp) printf ("\n"); > } > need_newline = FALSE; > } >