VirtualBox

Changeset 58144 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Oct 9, 2015 12:44:44 PM (9 years ago)
Author:
vboxsync
Message:

*: Doxygen fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r57415 r58144  
    5454
    5555
    56 /**
    57  * Displays the program usage message.
     56/** @name Displays the program usage message.
     57 * @{
     58 */
     59
     60/**
     61 * Helper function that does indentation.
    5862 *
    59  * @param u64Which
    60  *
    61  * @{
    62  */
    63 
    64 /** Helper function */
    65 static void doUsage(char const *line, char const *name = "", char const *command = "")
     63 * @param   pszLine     Text.
     64 * @param   pszName     Program name.
     65 * @param   pszCommand  Command/option syntax.
     66 */
     67static void doUsage(char const *pszLine, char const *pszName = "", char const *pszCommand = "")
    6668{
    6769    /* Allow for up to 15 characters command name length (VBoxControl.exe) with
    6870     * perfect column alignment. Beyond that there's at least one space between
    6971     * the command if there are command line parameters. */
    70     RTPrintf("%s %-*s%s%s\n", name, strlen(line) ? 35 - strlen(name) : 1,
    71                               command, strlen(line) ? " " : "", line);
     72    RTPrintf("%s %-*s%s%s\n",
     73             pszName,
     74             *pszLine ? 35 - strlen(name) : 1, pszCommand,
     75             *pszLine ? " " : "", pszLine);
    7276}
    7377
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette