diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-04 17:25:56 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-04 17:25:56 +0200 |
commit | ef3b1d89bba80854172eee9e8693f72ad1d768bc (patch) | |
tree | 1d29abe56aab93031246505a6b27cb9948291b82 /src/u_prints.go | |
parent | Time update (diff) | |
download | go2work-ef3b1d89bba80854172eee9e8693f72ad1d768bc.tar.gz go2work-ef3b1d89bba80854172eee9e8693f72ad1d768bc.tar.bz2 go2work-ef3b1d89bba80854172eee9e8693f72ad1d768bc.tar.xz go2work-ef3b1d89bba80854172eee9e8693f72ad1d768bc.tar.zst go2work-ef3b1d89bba80854172eee9e8693f72ad1d768bc.zip |
Update
Diffstat (limited to 'src/u_prints.go')
-rw-r--r-- | src/u_prints.go | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/u_prints.go b/src/u_prints.go index 205f04b..e6cea26 100644 --- a/src/u_prints.go +++ b/src/u_prints.go @@ -39,7 +39,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * go2work: src/u_prints.go - * Fri Apr 1 18:49:41 CEST 2022 + * Mon Apr 4 17:25:43 CEST 2022 * Joe * * Stuff to print @@ -49,6 +49,7 @@ package main import ( "fmt" + "log" ) func print_time(t [3]byte) { @@ -110,12 +111,18 @@ func print_version() { } func print_fortune_not_found() { - fmt.Println("Beware, fortune is set on but was not found") + fmt.Print("\n\n") + log.Println("beware, fortune is set on but was not found") } +func print_no_files() { + fmt.Print("\n\n") + log.Println("beware, no files selected! Using default ringtone") +} func print_file_not_found(file string) { - fmt.Println("\n\nBeware, file \"" + + fmt.Print("\n\n") + log.Println("beware, file '" + file + - "\" not found! Using default ringtone", + "' not found! Using default ringtone", ) } |