add current working directoy

Signed-off-by: John Thornton <bjt128@gmail.com>
This commit is contained in:
John Thornton
2015-10-15 07:03:04 -05:00
parent 6614fa2c6a
commit 95e9e277fc

View File

@ -226,6 +226,9 @@ func main(){
}
} else {
//inFile = "test.dxf"
pwd, err := os.Getwd()
check(err)
fmt.Println("Current Working Directory is:", pwd)
fmt.Println("Usage is: dxf2g filename.ext")
fmt.Println("Usage is: dxf2g -v")
os.Exit(0)