bareos: master 9998d541

Author Committer Branch Timestamp Parent
joergs mvwieringen master 2015-05-26 22:05 master db143d69 Pending
Changeset Tweak help commands

The output of the help and .help command have been handled differently.
The usage descriptions contain line breaks and tabs.

However, the output of the .help command must be machine parseable,
so these characters are removed during runtime.

For the api modes, these characters should also be removed.
Therefore the parameter "wrap" have been added to the
OUTPUT_FORMATTER::object_key_value function,
with following meanings:
  * wrap < 0: no modification
  * wrap = 0: single line
  * wrap > 0: wrap line after x characters (if api==0)
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File