Minor output fix for CLI client

This commit is contained in:
MaMe82 2018-11-23 17:20:29 +01:00
parent 78b7a786cd
commit 6bd548b974
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ func cobraHidRun(cmd *cobra.Command, args []string) {
res,err := ClientHIDRunScript(StrRemoteHost, StrRemotePort, serverScriptFilePath, tmpHidTimeout)
if err != nil { log.Fatal(err) }
fmt.Println(res.ResultJson)
fmt.Printf("Result:\n%s\n", res.ResultJson)
return
}

View File

@ -150,7 +150,7 @@ func ClientUploadFile(host string, port string, src io.Reader, folder pb.Accessi
})
if err != nil {return}
fmt.Printf("Start appending to %s in folder\n", filename, pb.AccessibleFolder_name[int32(folder)])
fmt.Printf("Start appending to '%s' in folder '%s'\n", filename, pb.AccessibleFolder_name[int32(folder)])
// start appending chunks read from source file to remote file (Remote file is closed and opened every time, but
// this avoids client to server streaming, which would be hard to implement for gRPC-web