| 348 | }; |
| 349 | |
| 350 | void |
| 351 | usage (int status) |
| 352 | { |
| 353 | if (status != EXIT_SUCCESS) |
| 354 | emit_try_help (); |
| 355 | else |
| 356 | { |
| 357 | printf (_("\ |
| 358 | Usage: %s [OPTION]... [FILE]...\n\ |
| 359 | or: %s [-abcdfilosx]... [FILE] [[+]OFFSET[.][b]]\n\ |
| 360 | or: %s --traditional [OPTION]... [FILE] [[+]OFFSET[.][b] [+][LABEL][.][b]]\n\ |
| 361 | "), |
| 362 | program_name, program_name, program_name); |
| 363 | fputs (_("\n\ |
| 364 | Write an unambiguous representation, octal bytes by default,\n\ |
| 365 | of FILE to standard output. With more than one FILE argument,\n\ |
| 366 | concatenate them in the listed order to form the input.\n\ |
| 367 | "), stdout); |
| 368 | |
| 369 | emit_stdin_note (); |
| 370 | |
| 371 | fputs (_("\ |
| 372 | \n\ |
| 373 | If first and second call formats both apply, the second format is assumed\n\ |
| 374 | if the last operand begins with + or (if there are 2 operands) a digit.\n\ |
| 375 | An OFFSET operand means -j OFFSET. LABEL is the pseudo-address\n\ |
| 376 | at first byte printed, incremented when dump is progressing.\n\ |
| 377 | For OFFSET and LABEL, a 0x or 0X prefix indicates hexadecimal;\n\ |
| 378 | suffixes may be . for octal and b for multiply by 512.\n\ |
| 379 | "), stdout); |
| 380 | |
| 381 | emit_mandatory_arg_note (); |
| 382 | |
| 383 | oputs (_("\ |
| 384 | -A, --address-radix=RADIX\n\ |
| 385 | output format for file offsets;\n\ |
| 386 | RADIX is one of [doxn], for Decimal, Octal, Hex or None\n\ |
| 387 | ")); |
| 388 | oputs (_("\ |
| 389 | --endian={big|little}\n\ |
| 390 | swap input bytes according the specified order\n\ |
| 391 | ")); |
| 392 | oputs (_("\ |
| 393 | -j, --skip-bytes=BYTES\n\ |
| 394 | skip BYTES input bytes first\n\ |
| 395 | ")); |
| 396 | oputs (_("\ |
| 397 | -N, --read-bytes=BYTES\n\ |
| 398 | limit dump to BYTES input bytes\n\ |
| 399 | ")); |
| 400 | oputs (_("\ |
| 401 | -S BYTES, --strings[=BYTES]\n\ |
| 402 | show only NUL terminated strings\n\ |
| 403 | of at least BYTES (default 3) printable characters\n\ |
| 404 | ")); |
| 405 | oputs (_("\ |
| 406 | -t, --format=TYPE\n\ |
| 407 | select output format or formats\n\ |
no test coverage detected