]> Cypherpunks.ru repositories - goredo.git/blobdiff - main.go
Move tai64nlocal to tai64n module
[goredo.git] / main.go
diff --git a/main.go b/main.go
index afeb353f43d002c727f6596d1786052c6ee7f47c..818b8dafeb830d85300c397107020572bfe0c32f 100644 (file)
--- a/main.go
+++ b/main.go
@@ -18,7 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 package main
 
 import (
-       "bufio"
        "crypto/rand"
        "flag"
        "fmt"
@@ -91,7 +90,6 @@ func main() {
                                log.Println(err)
                        }
                }
-               fmt.Println("no creating optional:", os.Args[0], "<- tai64nlocal")
                os.Exit(rc)
        }
        log.SetFlags(0)
@@ -177,6 +175,7 @@ func main() {
                        raw[0:4], raw[4:6], raw[6:8], raw[8:10], raw[10:],
                )
        }
+       statusInit()
 
        tgts := flag.Args()
        if len(tgts) == 0 {
@@ -271,10 +270,6 @@ CmdSwitch:
                        fmt.Println(cwdMustRel(cwd, m["Target"]))
                }
                ok = doFile != ""
-       case "tai64nlocal":
-               bw := bufio.NewWriter(os.Stdout)
-               err = tai64nLocal(bw, os.Stdin)
-               bw.Flush()
        default:
                log.Fatalln("unknown command", cmdName)
        }