MCPcopy Create free account
hub / github.com/coreutils/coreutils / usage

Function usage

src/dd.c:519–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519void
520usage (int status)
521{
522 if (status != EXIT_SUCCESS)
523 emit_try_help ();
524 else
525 {
526 printf (_("\
527Usage: %s [OPERAND]...\n\
528 or: %s OPTION\n\
529"),
530 program_name, program_name);
531 fputs (_("\
532Copy a file, converting and formatting according to the operands.\n\
533\n\
534"), stdout);
535 oputs (_("\
536 bs=BYTES read and write up to BYTES bytes at a time (default: 512);\n\
537 overrides ibs and obs\n\
538"));
539 oputs (_("\
540 cbs=BYTES convert BYTES bytes at a time\n\
541"));
542 oputs (_("\
543 conv=CONVS convert the file as per the comma separated symbol list\n\
544"));
545 oputs (_("\
546 count=N copy only N input blocks\n\
547"));
548 oputs (_("\
549 ibs=BYTES read up to BYTES bytes at a time (default: 512)\n\
550"));
551 oputs (_("\
552 if=FILE read from FILE instead of standard input\n\
553"));
554 oputs (_("\
555 iflag=FLAGS read as per the comma separated symbol list\n\
556"));
557 oputs (_("\
558 obs=BYTES write BYTES bytes at a time (default: 512)\n\
559"));
560 oputs (_("\
561 of=FILE write to FILE instead of standard output\n\
562"));
563 oputs (_("\
564 oflag=FLAGS write as per the comma separated symbol list\n\
565"));
566 oputs (_("\
567 seek=N (or oseek=N) skip N obs sized output blocks\n\
568"));
569 oputs (_("\
570 skip=N (or iseek=N) skip N ibs sized input blocks\n\
571"));
572 oputs (_("\
573 status=LEVEL The LEVEL of information to print to standard error;\n\
574 'none' suppresses everything but error messages,\n\
575 'noxfer' suppresses the final transfer statistics,\n\
576 'progress' shows periodic transfer statistics\n\

Callers 2

parse_symbolsFunction · 0.70
scanargsFunction · 0.70

Calls 1

emit_ancillary_infoFunction · 0.85

Tested by

no test coverage detected