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)
"follow\0" No_argument "f"
"framebuffer\0" No_argument "F"
;
-
- applet_long_options = conspy_longopts;
#endif
#define keybuf bb_common_bufsiz1
setup_common_bufsiz();
@@ -387,7 +385,7 @@ int conspy_main(int argc UNUSED_PARAM, char **argv)
strcpy(G.vcsa_name, DEV_VCSA);
// numeric params
- opts = getopt32(argv, "vcQsndfFx:+y:+", &G.x, &G.y);
+ opts = getopt32long(argv, "vcQsndfFx:+y:+", conspy_longopts, &G.x, &G.y);
argv += optind;
ttynum = 0;
if (argv[0]) {