minor tweak to scp error message

This commit is contained in:
Olivier Gagnon 2021-12-16 12:14:48 -05:00
parent 0a63de4539
commit 52f2e52456

@ -14,7 +14,7 @@ export function scp(
): void { ): void {
try { try {
if (args.length !== 2) { if (args.length !== 2) {
terminal.error("Incorrect usage of scp command. Usage: scp [file] [destination hostname/ip]"); terminal.error("Incorrect usage of scp command. Usage: scp [file] [destination hostname]");
return; return;
} }
const scriptname = terminal.getFilepath(args[0] + ""); const scriptname = terminal.getFilepath(args[0] + "");