Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/miscutils/flashcp.c

    r2725 r3232  
    77 * Licensed under GPLv2, see file LICENSE in this source tree.
    88 */
     9
     10//usage:#define flashcp_trivial_usage
     11//usage:       "-v FILE MTD_DEVICE"
     12//usage:#define flashcp_full_usage "\n\n"
     13//usage:       "Copy an image to MTD device\n"
     14//usage:     "\n    -v  Verbose"
    915
    1016#include "libbb.h"
     
    4551    int i;
    4652    uoff_t erase_count;
    47     unsigned opts;
    4853    struct mtd_info_user mtd;
    4954    struct erase_info_user e;
     
    5459
    5560    opt_complementary = "=2"; /* exactly 2 non-option args: file, dev */
    56     opts = getopt32(argv, "v");
     61    /*opts =*/ getopt32(argv, "v");
    5762    argv += optind;
    5863//  filename = *argv++;
Note: See TracChangeset for help on using the changeset viewer.