From 377786bad29adfc93c06681fcda5b5ea3e497784 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Tue, 14 Nov 2000 01:35:20 +0000 Subject: [PATCH] Disabled the `--script=' option. committer: mfx 974165720 +0000 --- src/help.cpp | 2 ++ src/main.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/help.cpp b/src/help.cpp index 3a23e2c7..10c19a81 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -175,6 +175,7 @@ void show_help(int x) " --strip-relocs=0 do not strip relocations\n" " --strip-relocs=1 strip relocations [default]\n" "\n"); +#if 0 fg = con_fg(f,FG_YELLOW); con_fprintf(f,"Options for linux/i386\n"); fg = con_fg(f,fg); @@ -182,6 +183,7 @@ void show_help(int x) " --script use /usr/local/lib/upx/upx[bd] as decompressor\n" " --script=/path/upxX use path/upxX as decompressor\n" "\n"); +#endif } con_fprintf(f, diff --git a/src/main.cpp b/src/main.cpp index 74472cb1..d7b129d6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -740,7 +740,9 @@ static const struct mfx_option longopts[] = // dos/sys // unix {"blocksize", 0x31, 0, 660}, // --blocksize= +#if 0 {"script", 0x31, 0, 661}, // --script= +#endif // watcom/le {"le", 0, 0, 620}, // produce LE output // win32/pe