canonical / canonical/multipass

Confusing error on transfer argument with wrong format

Open
#2,220 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

Originally reported on [discourse](https://discourse.ubuntu.com/t/cant-make-transfer-work-using-home-on-windows/23957).

Multiple colons in transfer arguments result in a confusing error:
```
PS > $HOME
C:\Users\some_user
PS > multipass transfer -vvvv asdf beefy-constrictor:$HOME/asdf
An instance name is needed for either source or destination
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the shown `multipass transfer` command with a path containing multiple colons, then trace the transfer argument parsing and error reporting entry points. Done means the malformed argument produces a clear, actionable error instead of saying that an instance name is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.