Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/coreutils/mv.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/coreutils/mv.c
r3232 r3621 34 34 "force\0" No_argument "f" 35 35 "no-clobber\0" No_argument "n" 36 IF_FEATURE_VERBOSE( 36 37 "verbose\0" No_argument "v" 38 ) 37 39 ; 38 40 #endif … … 41 43 #define OPT_INTERACTIVE (1 << 1) 42 44 #define OPT_NOCLOBBER (1 << 2) 45 #define OPT_VERBOSE ((1 << 3) * ENABLE_FEATURE_VERBOSE) 46 43 47 44 48 int mv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; … … 59 63 * If more than one of -f, -i, -n is specified , only the final one 60 64 * takes effect (it unsets previous options). 61 * -v is accepted but ignored.62 65 */ 63 66 opt_complementary = "-2:f-in:i-fn:n-fi"; … … 149 152 } 150 153 RET_0: 154 if (flags & OPT_VERBOSE) { 155 printf("'%s' -> '%s'\n", *argv, dest); 156 } 151 157 if (dest != last) { 152 158 free((void *) dest);
Note:
See TracChangeset
for help on using the changeset viewer.