diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-19 19:24:01 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-19 19:24:01 +0000 |
commit | 27a804246af28c5d3d1f69d93049e3e21492bc48 (patch) | |
tree | 1532267f0161afd05240909eafea4283247df356 /editors | |
parent | 869057238b4ae1544ee9df28fca4157b041175f9 (diff) | |
download | busybox-w32-27a804246af28c5d3d1f69d93049e3e21492bc48.tar.gz busybox-w32-27a804246af28c5d3d1f69d93049e3e21492bc48.tar.bz2 busybox-w32-27a804246af28c5d3d1f69d93049e3e21492bc48.zip |
Centralize handling of --help.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/editors/sed.c b/editors/sed.c index 3973d212d..7b3a4236a 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -663,10 +663,6 @@ extern int sed_main(int argc, char **argv) | |||
663 | { | 663 | { |
664 | int opt; | 664 | int opt; |
665 | 665 | ||
666 | /* do special-case option parsing */ | ||
667 | if (argv[1] && (strcmp(argv[1], "--help") == 0)) | ||
668 | usage(sed_usage); | ||
669 | |||
670 | #if 0 | 666 | #if 0 |
671 | /* destroy command strings on exit */ | 667 | /* destroy command strings on exit */ |
672 | if (atexit(destroy_cmd_strs) == -1) { | 668 | if (atexit(destroy_cmd_strs) == -1) { |