| 5334 | } |
| 5335 | |
| 5336 | void |
| 5337 | usage (int status) |
| 5338 | { |
| 5339 | if (status != EXIT_SUCCESS) |
| 5340 | emit_try_help (); |
| 5341 | else |
| 5342 | { |
| 5343 | printf (_("Usage: %s [OPTION]... [FILE]...\n"), program_name); |
| 5344 | fputs (_("\ |
| 5345 | List information about the FILEs (the current directory by default).\n\ |
| 5346 | Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\ |
| 5347 | "), stdout); |
| 5348 | |
| 5349 | emit_mandatory_arg_note (); |
| 5350 | |
| 5351 | oputs (_("\ |
| 5352 | -a, --all\n\ |
| 5353 | do not ignore entries starting with .\n\ |
| 5354 | ")); |
| 5355 | oputs (_("\ |
| 5356 | -A, --almost-all\n\ |
| 5357 | do not list implied . and ..\n\ |
| 5358 | ")); |
| 5359 | oputs (_("\ |
| 5360 | --author\n\ |
| 5361 | with -l, print the author of each file\n\ |
| 5362 | ")); |
| 5363 | oputs (_("\ |
| 5364 | -b, --escape\n\ |
| 5365 | print C-style escapes for nongraphic characters\n\ |
| 5366 | ")); |
| 5367 | oputs (_("\ |
| 5368 | --block-size=SIZE\n\ |
| 5369 | with -l, scale sizes by SIZE when printing them;\n\ |
| 5370 | e.g., '--block-size=M'; see SIZE format below\n\ |
| 5371 | ")); |
| 5372 | oputs (_("\ |
| 5373 | -B, --ignore-backups\n\ |
| 5374 | do not list implied entries ending with ~\n\ |
| 5375 | ")); |
| 5376 | oputs (_("\ |
| 5377 | -c\n\ |
| 5378 | with -lt: sort by, and show, ctime\n\ |
| 5379 | (time of last change of file status information);\n\ |
| 5380 | with -l: show ctime and sort by name;\n\ |
| 5381 | otherwise: sort by ctime, newest first\n\ |
| 5382 | ")); |
| 5383 | oputs (_("\ |
| 5384 | -C\n\ |
| 5385 | list entries by columns\n\ |
| 5386 | ")); |
| 5387 | oputs (_("\ |
| 5388 | --color[=WHEN]\n\ |
| 5389 | color the output WHEN; more info below\n\ |
| 5390 | ")); |
| 5391 | oputs (_("\ |
| 5392 | -d, --directory\n\ |
| 5393 | list directories themselves, not their contents\n\ |
no test coverage detected