diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-05 14:46:07 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-05 14:46:07 +0000 |
commit | 27421a1878847389391c1a43420baaccf57057a7 (patch) | |
tree | 73e57d430a5828d242b78deb0a591a99f0df44a9 /coreutils/rm.c | |
parent | bef14d7a878049a01f1fb9b412611a2d64c2b154 (diff) | |
download | busybox-w32-27421a1878847389391c1a43420baaccf57057a7.tar.gz busybox-w32-27421a1878847389391c1a43420baaccf57057a7.tar.bz2 busybox-w32-27421a1878847389391c1a43420baaccf57057a7.zip |
1) bb_opt_complementaly -> bb_opt_complementally
2) better support long options
3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
Diffstat (limited to 'coreutils/rm.c')
-rw-r--r-- | coreutils/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/rm.c b/coreutils/rm.c index 39609e7b8..e4e9bb0be 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c | |||
@@ -38,7 +38,7 @@ extern int rm_main(int argc, char **argv) | |||
38 | int flags = 0; | 38 | int flags = 0; |
39 | unsigned long opt; | 39 | unsigned long opt; |
40 | 40 | ||
41 | bb_opt_complementaly = "f-i:i-f"; | 41 | bb_opt_complementally = "f-i:i-f"; |
42 | opt = bb_getopt_ulflags(argc, argv, "fiRr"); | 42 | opt = bb_getopt_ulflags(argc, argv, "fiRr"); |
43 | if(opt & 1) | 43 | if(opt & 1) |
44 | flags |= FILEUTILS_FORCE; | 44 | flags |= FILEUTILS_FORCE; |