VirtualBox

Changeset 81962 in vbox for trunk/src


Ignore:
Timestamp:
Nov 18, 2019 7:20:41 PM (5 years ago)
Author:
vboxsync
Message:

FE/VBoxManage: Fixes for Shared Clipboard syntax handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp

    r81287 r81962  
    518518            if (a->argc <= 1 + 1)
    519519            {
    520                 errorArgument("Missing argument to '%s'. Expected clipboard mode.", a->argv[1]);
     520                errorArgument("Missing argument to '%s'.", a->argv[1]);
    521521                rc = E_FAIL;
    522522                break;
     
    550550                if (a->argc <= 1 + 2)
    551551                {
    552                     errorArgument("Missing argument to '%s'. Expected true / false.", a->argv[2]);
     552                    errorArgument("Missing argument to '%s'. Expected enabled / disabled.", a->argv[2]);
    553553                    rc = E_FAIL;
    554554                    break;
     
    576576            }
    577577# endif /* VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS */
     578            else
     579            {
     580                errorArgument("Invalid '%s' argument '%s'.", a->argv[1], a->argv[2]);
     581                rc = E_FAIL;
     582                break;
     583            }
    578584        }
    579585#endif /* VBOX_WITH_SHARED_CLIPBOARD */
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