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/mv.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/mv.c')
-rw-r--r-- | coreutils/mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c index e1c4529ad..43a8e6d7d 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c | |||
@@ -56,7 +56,7 @@ extern int mv_main(int argc, char **argv) | |||
56 | int status = 0; | 56 | int status = 0; |
57 | 57 | ||
58 | bb_applet_long_options = mv_long_options; | 58 | bb_applet_long_options = mv_long_options; |
59 | bb_opt_complementaly = "f-i:i-f"; | 59 | bb_opt_complementally = "f-i:i-f"; |
60 | flags = bb_getopt_ulflags(argc, argv, "fi"); | 60 | flags = bb_getopt_ulflags(argc, argv, "fi"); |
61 | if (optind + 2 > argc) { | 61 | if (optind + 2 > argc) { |
62 | bb_show_usage(); | 62 | bb_show_usage(); |