* cp -fa now works as expected for symlinks (it didn't before)
* zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
This commit is contained in:
9
gunzip.c
9
gunzip.c
@ -715,11 +715,12 @@ int gunzip_main(int argc, char **argv)
|
||||
char ifname[MAX_PATH_LEN + 1]; /* input file name */
|
||||
char ofname[MAX_PATH_LEN + 1]; /* output file name */
|
||||
|
||||
if (argc == 1)
|
||||
usage(gunzip_usage);
|
||||
|
||||
if (strcmp(*argv, "zcat") == 0)
|
||||
if (strcmp(*argv, "zcat") == 0) {
|
||||
to_stdout = 1;
|
||||
if (argc == 1) {
|
||||
fromstdin = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Parse any options */
|
||||
while (--argc > 0 && **(++argv) == '-') {
|
||||
|
Reference in New Issue
Block a user