Skip to content

Commit

Permalink
[daemon][cli] small wording improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliao committed Jul 12, 2024
1 parent aea6344 commit aade5c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/cli/cmd/clone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ QString cmd::Clone::description() const

mp::ParseCode cmd::Clone::parse_args(ArgParser* parser)
{
parser->addPositionalArgument("source_name", "The name of the source virtual machine instance", "<source_name>");
parser->addPositionalArgument("source_name", "The name of the source virtual machine", "<source_name>");

const QCommandLineOption destination_name_option{
{"n", "name"},
Expand Down
2 changes: 1 addition & 1 deletion src/daemon/daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3655,7 +3655,7 @@ std::string mp::Daemon::generate_destination_instance_name_for_clone(const Clone
{
if (!mp::utils::valid_hostname(request.destination_name()))
{
throw mp::cloneInvalidNameException("Invalid destination virtual machine instance name: " +
throw mp::cloneInvalidNameException("Invalid destination virtual machine name: " +
request.destination_name());
}

Expand Down

0 comments on commit aade5c2

Please sign in to comment.