[publican-list] [Bug 578366] Quiet mode to disable ANSI codes in log files

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 6 02:00:53 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=578366

--- Comment #8 from Jeff Fearn <jfearn at redhat.com> 2010-04-05 22:00:50 EDT ---
This was confusing so I renamed and reordered the options and the help texts.
Mainly because there are 3 kinds of options and only 2 were appearing in the
helps texts >_<

Renamed 'Global Options' to 'Command Options' these apply only to the publican
command, not to actions.

Renamed 'Options' to 'Action Options' these apply only to actions not to the
publican command.

Displayed 'Common Options', common_config, nocolour etc, as part of the action
help text.

$ bin/publican --help

Usage:
    publican <command options>

    publican <action> <action options>

    Command Options

        --help              Display help message
        --man               Display the man page
        --help_actions      Display a list of valid actions
        -v                  Display the version of Publican

    Run: 'publican <action> --help' for details on action usage

    Valid actions are:

        build         Transform XML to other formats (pdf, html, html-single,
etc)
...


$ bin/publican build --help
build
    Transform XML to other formats (pdf, html, html-single, etc)

        Options:
        --help                    Display help message
        --config=s                Use a nonstandard config file
        --common_config=s         Override path to Common_Config directory
        --common_content=s        Override path to Common_Content directory
        --nocolours               Disable ANSI colourisation of logging.
        --quiet                   Disable all logging.
        --formats=<FORMATS>       Comma-separated list of formats, for example:
html,pdf,html-single,html-desktop,txt,epub
        --langs=<LANGS>           Comma-separated list of languages, for
example: en-US,de-DE,all
...


Will begin bugging Rudi to update docs :)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list