INNER CODE UNIT · C
interactive
NBISweden/MrBayes · src/bayes.c:245
int interactive = 0; /* enable/disable interactive mode */
/* Do command line parsing on Unix-like systems */
while ((ch = getopt(argc, argv, "hiIv")) != -1) {
switch (ch) {
case 'h': /* help */
/* Display (very short) command synopsis and terminate
* succesfully */
puts("MrBayes, Bayesian Analysis of Phylogeny\n");
puts("Usage:");
printf("\t%s [-i] [filename ...]\n", argv[0]);
printf("\t%s -v\n", argv[0]);
printf("\t%s -h\n", argv[0]);
putchar('\n');
puts("Options:");
puts("\t-i\tForce interactive mode");
puts("\t\tNon-interactive mode is the default when a "
"filename is given");