~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve new disobedience search code. --choosealpha is dead now
[disorder]
/
disobedience
/
disobedience.c
diff --git
a/disobedience/disobedience.c
b/disobedience/disobedience.c
index
2b21b61
..
2a39a15
100644
(file)
--- a/
disobedience/disobedience.c
+++ b/
disobedience/disobedience.c
@@
-69,9
+69,6
@@
int volume_r;
double goesupto = 10; /* volume upper bound */
double goesupto = 10; /* volume upper bound */
-/** @brief Break up choose tab by initial letter */
-int choosealpha;
-
/** @brief True if a NOP is in flight */
static int nop_in_flight;
/** @brief True if a NOP is in flight */
static int nop_in_flight;
@@
-320,7
+317,6
@@
static const struct option options[] = {
{ "version", no_argument, 0, 'V' },
{ "config", required_argument, 0, 'c' },
{ "tufnel", no_argument, 0, 't' },
{ "version", no_argument, 0, 'V' },
{ "config", required_argument, 0, 'c' },
{ "tufnel", no_argument, 0, 't' },
- { "choosealpha", no_argument, 0, 'C' },
{ "debug", no_argument, 0, 'd' },
{ 0, 0, 0, 0 }
};
{ "debug", no_argument, 0, 'd' },
{ 0, 0, 0, 0 }
};
@@
-364,14
+360,13
@@
int main(int argc, char **argv) {
if(!setlocale(LC_CTYPE, "")) fatal(errno, "error calling setlocale");
gtk_init(&argc, &argv);
gtk_rc_parse_string(style);
if(!setlocale(LC_CTYPE, "")) fatal(errno, "error calling setlocale");
gtk_init(&argc, &argv);
gtk_rc_parse_string(style);
- while((n = getopt_long(argc, argv, "hVc:dtH", options, 0)) >= 0) {
+ while((n = getopt_long(argc, argv, "hVc:dtH
C
", options, 0)) >= 0) {
switch(n) {
case 'h': help();
case 'V': version();
case 'c': configfile = optarg; break;
case 'd': debugging = 1; break;
case 't': goesupto = 11; break;
switch(n) {
case 'h': help();
case 'V': version();
case 'c': configfile = optarg; break;
case 'd': debugging = 1; break;
case 't': goesupto = 11; break;
- case 'C': choosealpha = 1; break; /* not well tested any more */
default: fatal(0, "invalid option");
}
}
default: fatal(0, "invalid option");
}
}