Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/indent
Module Name: src
Committed By: rillig
Date: Sat Oct 30 09:51:23 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: condense code for parsing command line arguments
Previously, the cascade of 'if' statements suggested that there were 6
different cases to be handled when in reality there are only 3: no
arguments, 1 argument, 2 arguments. Let the code express this directly.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/usr.bin/indent/indent.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index