Looks good. Applied. tis 2014-01-28 klockan 22:06 +0100 skrev Michal Suchanek: > >From c1c9a0432331a59e047a3330f89e2cca27e77b25 Mon Sep 17 00:00:00 2001 > > Signed-off-by: Michal Suchanek <[email protected]> > --- > pio.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/pio.c b/pio.c > index e48a660..7ef4514 100644 > --- a/pio.c > +++ b/pio.c > @@ -167,8 +167,11 @@ static const char *argv0; > > static void usage(int rc ) > { > - > - fprintf(stderr, "usage: %s [-m|-i input] [-o output] pin..\n", argv0); > + > + fprintf(stderr, "usage: %s -m|-i input [-o output] pin..\n", argv0); > + fprintf(stderr," -m mmap - read pin state > from system\n"); > + fprintf(stderr," -i read pin state from > file\n"); > + fprintf(stderr," -o save pin state data to > file\n"); > fprintf(stderr," print Show all pins\n"); > fprintf(stderr," Pxx Show pin\n"); > fprintf(stderr," Pxx<mode><pull><drive><data> Configure pin\n"); > @@ -179,7 +182,7 @@ static void usage(int rc ) > fprintf(stderr, "\n mode 0-7, 0=input, 1=ouput, 2-7 I/O > function\n"); > fprintf(stderr, " pull 0=none, 1=up, 2=down\n"); > fprintf(stderr, " drive 0-3, I/O drive level\n"); > - > + > exit(rc); > } > > -- > 1.7.10.4 > >
-- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
