summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-16 14:10:06 -0700
committerKeith Packard <keithp@keithp.com>2011-03-19 16:57:32 -0700
commit8301a162cf23eac7b2fb5f8549e0ed3544e7a4dd (patch)
tree6c56f386700abaa73e427bc3591023626130df1e
parent189d82ed3ba35f2dd67ca9594c15c14a95b6fdf0 (diff)
aoview: remove -s option.
-rw-r--r--ao-tools/ao-view/aoview_main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ao-tools/ao-view/aoview_main.c b/ao-tools/ao-view/aoview_main.c
index 714bee9a..f8704b89 100644
--- a/ao-tools/ao-view/aoview_main.c
+++ b/ao-tools/ao-view/aoview_main.c
@@ -31,7 +31,6 @@ static void destroy_event(GtkWidget *widget, gpointer data)
gtk_main_quit();
}
-extern int _Xdebug;
char *aoview_tty = NULL;
int main(int argc, char **argv)
@@ -42,13 +41,12 @@ int main(int argc, char **argv)
static struct option long_options[] = {
{ "tty", 1, 0, 'T'},
- { "sync", 0, 0, 's'},
{ 0, 0, 0, 0 }
};
for (;;) {
int c, temp;
- c = getopt_long_only(argc, argv, "sT:", long_options, &temp);
+ c = getopt_long_only(argc, argv, "T:", long_options, &temp);
if (c == -1)
break;
@@ -56,9 +54,6 @@ int main(int argc, char **argv)
case 'T':
aoview_tty = optarg;
break;
- case 's':
- _Xdebug = 1;
- break;
default:
usage();
}