MCPcopy Create free account
hub / github.com/RsyncProject/rsync / set_output_verbosity

Function set_output_verbosity

options.c:523–534  ·  view source on GitHub ↗

The --verbose option now sets info+debug flags. */

Source from the content-addressed store, hash-verified

521
522/* The --verbose option now sets info+debug flags. */
523static void set_output_verbosity(int level, uchar priority)
524{
525 int j;
526
527 if (level > MAX_VERBOSITY)
528 level = MAX_VERBOSITY;
529
530 for (j = 0; j <= level; j++) {
531 parse_output_words(info_words, info_levels, info_verbosity[j], priority);
532 parse_output_words(debug_words, debug_levels, debug_verbosity[j], priority);
533 }
534}
535
536/* Limit the info+debug flag levels given a verbose-option level limit. */
537void limit_output_verbosity(int level)

Callers 1

parse_argumentsFunction · 0.85

Calls 1

parse_output_wordsFunction · 0.85

Tested by

no test coverage detected