show code

This commit is contained in:
Zack Scholl 2018-06-23 11:03:44 -07:00
parent 6e69b2760e
commit 901b0af827
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ func (c *Connection) Run() error {
if c.Code == "" {
c.Code = GetRandomName()
}
fmt.Fprintf(os.Stderr, "Code is '%s'\n", c.Code)
if c.File.IsDir {
fmt.Fprintf(os.Stderr, "Sending %s folder named '%s'\n", humanize.Bytes(uint64(c.File.Size)), c.File.Name[:len(c.File.Name)-4])
} else {