OpenBSD CVS

CVS log for src/usr.bin/getopt/getopt.1


[BACK] Up to [local] / src / usr.bin / getopt

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_3_BASE


Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 14 09:55:28 2012 UTC (11 years, 6 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

fix a bug, hidden by the break statement in the special option case,
in the example code.

millert@ suggested using -ne instead of -gt since $# can't be negative.

ok millert@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.