Skip to content

Commit

Permalink
Add versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-ha committed Mar 31, 2024
1 parent d6fbd5a commit ef66fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"io"
"os"
"runtime"
"sync"

"github.com/ben-ha/jcp/logic"
Expand Down Expand Up @@ -45,6 +46,7 @@ func StartUI(prog *tea.Program, uiComplete *sync.WaitGroup) {

func main() {
if len(os.Args) != 3 {
fmt.Printf("Jcp %s\n", runtime.Version())
fmt.Printf("Usage: %v <src> <dest>\n", os.Args[0])
return
}
Expand Down

0 comments on commit ef66fe1

Please sign in to comment.