util.c (0fdf7fa846b1a1b1679e86812a1b08b8cb623604) | util.c (e10ba80063386211b1c74eb72b4fb0f4093e93c0) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1989, 1993, 1994 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Michael Fischbein. --- 213 unchanged lines hidden (view full) --- 222 return (len); 223} 224 225void 226usage(void) 227{ 228 (void)fprintf(stderr, 229#ifdef COLORLS | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1989, 1993, 1994 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Michael Fischbein. --- 213 unchanged lines hidden (view full) --- 222 return (len); 223} 224 225void 226usage(void) 227{ 228 (void)fprintf(stderr, 229#ifdef COLORLS |
230 "usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1,] [-D format]" | 230 "usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1,] [--color=when] [-D format]" |
231#else 232 "usage: ls [-ABCFHILPRSTUWZabcdfghiklmnopqrstuwxy1,] [-D format]" 233#endif 234 " [file ...]\n"); 235 exit(1); 236} | 231#else 232 "usage: ls [-ABCFHILPRSTUWZabcdfghiklmnopqrstuwxy1,] [-D format]" 233#endif 234 " [file ...]\n"); 235 exit(1); 236} |