gconf.c (463157444e377bf9b279101b1f16a94c4648c03a) | gconf.c (0a1f00a1c86421cc07cec87011c7cf4df68ee54b) |
---|---|
1/* Hey EMACS -*- linux-c -*- */ 2/* 3 * 4 * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info> 5 * Released under the terms of the GNU GPL v2.0. 6 * 7 */ 8 --- 1460 unchanged lines hidden (view full) --- 1469 glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL); 1470 1471 /* Conf stuffs */ 1472 if (ac > 1 && av[1][0] == '-') { 1473 switch (av[1][1]) { 1474 case 'a': 1475 //showAll = 1; 1476 break; | 1/* Hey EMACS -*- linux-c -*- */ 2/* 3 * 4 * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info> 5 * Released under the terms of the GNU GPL v2.0. 6 * 7 */ 8 --- 1460 unchanged lines hidden (view full) --- 1469 glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL); 1470 1471 /* Conf stuffs */ 1472 if (ac > 1 && av[1][0] == '-') { 1473 switch (av[1][1]) { 1474 case 'a': 1475 //showAll = 1; 1476 break; |
1477 case 's': 1478 conf_set_message_callback(NULL); 1479 break; |
|
1477 case 'h': 1478 case '?': | 1480 case 'h': 1481 case '?': |
1479 printf("%s <config>\n", av[0]); | 1482 printf("%s [-s] <config>\n", av[0]); |
1480 exit(0); 1481 } 1482 name = av[2]; 1483 } else 1484 name = av[1]; 1485 1486 conf_parse(name); 1487 fixup_rootmenu(&rootmenu); --- 31 unchanged lines hidden --- | 1483 exit(0); 1484 } 1485 name = av[2]; 1486 } else 1487 name = av[1]; 1488 1489 conf_parse(name); 1490 fixup_rootmenu(&rootmenu); --- 31 unchanged lines hidden --- |