aboutsummaryrefslogtreecommitdiff
path: root/miscutils/conspy.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/conspy.c')
-rw-r--r--miscutils/conspy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/conspy.c b/miscutils/conspy.c
index 22b29cbf3..a0e0d4e4b 100644
--- a/miscutils/conspy.c
+++ b/miscutils/conspy.c
@@ -377,8 +377,6 @@ int conspy_main(int argc UNUSED_PARAM, char **argv)
377 "follow\0" No_argument "f" 377 "follow\0" No_argument "f"
378 "framebuffer\0" No_argument "F" 378 "framebuffer\0" No_argument "F"
379 ; 379 ;
380
381 applet_long_options = conspy_longopts;
382#endif 380#endif
383#define keybuf bb_common_bufsiz1 381#define keybuf bb_common_bufsiz1
384 setup_common_bufsiz(); 382 setup_common_bufsiz();
@@ -387,7 +385,7 @@ int conspy_main(int argc UNUSED_PARAM, char **argv)
387 strcpy(G.vcsa_name, DEV_VCSA); 385 strcpy(G.vcsa_name, DEV_VCSA);
388 386
389 // numeric params 387 // numeric params
390 opts = getopt32(argv, "vcQsndfFx:+y:+", &G.x, &G.y); 388 opts = getopt32long(argv, "vcQsndfFx:+y:+", conspy_longopts, &G.x, &G.y);
391 argv += optind; 389 argv += optind;
392 ttynum = 0; 390 ttynum = 0;
393 if (argv[0]) { 391 if (argv[0]) {