maidsafe / safe_network

66 stars 40 forks source link

fix: (sn_cli): Files download error msg is misleading #1890

Open willief opened 1 month ago

willief commented 1 month ago

If an incorrect/incomplete download is given, we get an error like

Completed with Err(
   0: Both the name and address must be supplied if either are used

Location:
   sn_cli/src/bin/subcommands/files.rs:150

Suggestion: Please run the command again in the form 'files upload <name> <address>'

This message is misleading and should be changed to Suggestion: Please run the command again in the form 'files download <name> <address>'