mirror of
https://github.com/RoganDawes/P4wnP1_aloa.git
synced 2025-03-17 21:31:56 +01:00
Minor output fix for CLI client
This commit is contained in:
parent
78b7a786cd
commit
6bd548b974
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user