=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/radioctl/radioctl.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/radioctl/radioctl.c 2006/02/05 23:52:58 1.13 --- src/usr.bin/radioctl/radioctl.c 2007/09/27 21:55:54 1.14 *************** *** 1,4 **** ! /* $OpenBSD: radioctl.c,v 1.13 2006/02/05 23:52:58 jakemsr Exp $ */ /* $RuOBSD: radioctl.c,v 1.4 2001/10/20 18:09:10 pva Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: radioctl.c,v 1.14 2007/09/27 21:55:54 sobrado Exp $ */ /* $RuOBSD: radioctl.c,v 1.4 2001/10/20 18:09:10 pva Exp $ */ /* *************** *** 192,202 **** print_vars(silent, show_choices); else if (argc > 0 && !show_vars) { if (mode == O_RDWR) { ! for(; argc--; argv++) if (parse_opt(*argv, &opt)) do_ioctls(rd, &opt, silent); } else { ! for(; argc--; argv++) if (parse_opt(*argv, &opt)) { show_verbose(varname[opt.option], silent); --- 192,202 ---- print_vars(silent, show_choices); else if (argc > 0 && !show_vars) { if (mode == O_RDWR) { ! for (; argc--; argv++) if (parse_opt(*argv, &opt)) do_ioctls(rd, &opt, silent); } else { ! for (; argc--; argv++) if (parse_opt(*argv, &opt)) { show_verbose(varname[opt.option], silent); *************** *** 217,225 **** usage(void) { fprintf(stderr, ! "usage: %s [-f file] [-nv] variable ...\n" ! " %s [-f file] [-n] variable=value ...\n" ! " %s [-f file] [-nv] -a\n", __progname, __progname, __progname); exit(1); } --- 217,225 ---- usage(void) { fprintf(stderr, ! "usage: %s [-nv] [-f file] -a\n" ! " %s [-nv] [-f file] name\n" ! " %s [-n] [-f file] name=value\n", __progname, __progname, __progname); exit(1); }