summaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-19 19:24:01 +0000
committerMatt Kraai2000-07-19 19:24:01 +0000
commit27a804246af28c5d3d1f69d93049e3e21492bc48 (patch)
tree1532267f0161afd05240909eafea4283247df356 /sed.c
parent869057238b4ae1544ee9df28fca4157b041175f9 (diff)
downloadbusybox-27a804246af28c5d3d1f69d93049e3e21492bc48.zip
busybox-27a804246af28c5d3d1f69d93049e3e21492bc48.tar.gz
Centralize handling of --help.
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sed.c b/sed.c
index 3973d21..7b3a423 100644
--- a/sed.c
+++ b/sed.c
@@ -663,10 +663,6 @@ extern int sed_main(int argc, char **argv)
{
int opt;
- /* do special-case option parsing */
- if (argv[1] && (strcmp(argv[1], "--help") == 0))
- usage(sed_usage);
-
#if 0
/* destroy command strings on exit */
if (atexit(destroy_cmd_strs) == -1) {